Advertisement
c0d3dsk1lls

User input

Aug 9th, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. def question():
  2.     i = 0
  3.     while i < 2:
  4.         answer = input("A = Botnet or B = Hacks:")
  5.         if answer == str("A"):
  6.             print("You have chosen: Botnet")
  7.             break
  8.         elif answer == ('B'):
  9.             print("You have chosen: Hacks")
  10.             break
  11.        
  12.  
  13.  
  14. question()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement