Posts by Julio Moody • 1 point
2 posts
-
-3
votes11
answers38715
viewsA: How to check if the variable string value is number?
Use the verification method already in Python, the is. See below your rectified code: case = input(escolha um valor de 0 a 10) verificação = isnumeric(case) if verificação == True: print ('O número…
-
0
votes4
answers361
viewsA: Python Code - Conditional Structure
Brother, I am without Python here to check if the code is running without bugs, but, if I didn’t understand wrong what you asked, this code here will work: (checks if there is no syntax error…