Advertisement
nanokatka

loop-task1

Feb 2nd, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. bb=True
  2. nn=0
  3. while bb:
  4. aa=input("Y/N?")
  5. if aa=="Y" or aa=="y":
  6. nn=nn+1
  7. elif aa=="N" or aa=="n":
  8. for ii in range(nn):
  9. print("I ,ust not tell lies")
  10. else:
  11. print("That's not correct answer")
  12. bb=False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement