Guest User

Untitled

a guest
Nov 8th, 2018
1,318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. username = input("Username")
  2. password = input("Password")
  3.  
  4. if password == correct_password:
  5. print("Login successful")
  6. else:
  7. print("Invalid password")
  8.  
  9. dice_roll = random.randint(1,6)
  10.  
  11. if dice_roll % 2 == 0:
  12. player1_score += 10
  13. else:
  14. player1_score -= 5
Add Comment
Please, Sign In to add comment