Advertisement
anton_d

boolian_check

Feb 2nd, 2022
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. name = input()
  2.  
  3. is_valid = True
  4. text = ""
  5.  
  6.  
  7. if name == "Anton":
  8.     text = "Anton, he is admin of discord group"
  9. elif name == "Mirian":
  10.     text = "He is moderator in Anton discord"
  11. else:
  12.     is_valid = False
  13.  
  14. if is_valid:
  15.     print(text)
  16. else:
  17.     print("Wrong name")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement