Posts by Francisco • 1 point
1 post
-
0
votes3
answers307
viewsA: How to use if, Elif and Else
Validating input values from 0 to 10 and proposed if / Elif / Else. num_crime = -1 while not int(num_crime) in range(0,11): num_crime = input('Informe a gravidade do crime (0 - 10) : ') if…