Advertisement
rony2605

If e Else

Dec 27th, 2012
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. # laco decisao
  2.  
  3. x = 2
  4. if x > 2:
  5.     print("Maior do que 2")
  6.     print("Fiz o teste 1")
  7.  
  8. else:
  9.         print("Nao eh maior do que doise")
  10.         print("Fiz o teste 2")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement