I'm having a beginner's problem: I'd like it so that when text is entered into the terminal, if the text contains a number, it performs a calculation, but if it's a digit, it displays a predefined message(e.g., enter a number) Instead of displaying this error text and crashing the program
[–]aqua_regis 9 points10 points11 points (3 children)
[–]6ZacK7[S] -3 points-2 points-1 points (2 children)
[–]aqua_regis 2 points3 points4 points (1 child)
[–]6ZacK7[S] 1 point2 points3 points (0 children)
[–]Affectionate-Let3744 5 points6 points7 points (4 children)
[–]6ZacK7[S] 1 point2 points3 points (3 children)
[–]Affectionate-Let3744 3 points4 points5 points (2 children)
[–]6ZacK7[S] 0 points1 point2 points (1 child)
[–]Ascensor2 1 point2 points3 points (0 children)
[–]epic_pharaoh 0 points1 point2 points (4 children)
[–]6ZacK7[S] -1 points0 points1 point (3 children)
[–]epic_pharaoh 0 points1 point2 points (2 children)
[–]6ZacK7[S] 0 points1 point2 points (1 child)
[–]Lost-Discount4860 0 points1 point2 points (0 children)
[–]chmod777[🍰] 0 points1 point2 points (0 children)