Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. # Isso deve resolver
  2.  
  3. def get_nota():
  4.     nota = 0.0
  5.     while True:
  6.         nota = float(raw_input(" infore a nota: "))
  7.     if 0.0 >= nota >= 10.0:
  8.         break
  9.     return nota
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement