SHARE
TWEET

Untitled

a guest Sep 14th, 2017 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = 0
  2.  
  3. def vote():
  4.     choice = raw_input("Would you like to vote to kick xxxx? ")
  5.     if choice == "Yes":
  6.         x += 1
  7.         print "The number of votes is:", x
  8.     else:
  9.         print "I guess not"
  10.  
  11. while x < 5:
  12.     vote()
RAW Paste Data
Top