Advertisement
Rnery

Loop..

Nov 15th, 2022 (edited)
905
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | Source Code | 1 0
  1. def main():
  2.     n = ""
  3.     resposta = True
  4.  
  5.     for n in range(8):
  6.         print(n)
  7.         if n > 1:
  8.             resposta = False
  9.  
  10.         if resposta:
  11.             print("S")
  12.         else:
  13.             print("F")
  14.  
  15. main()
Tags: python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement