Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.78 KB | None | 0 0
  1. #This asks for first and last name
  2. first_name = raw_input ("First Name: ")
  3. last_name = raw_input ("Last Name: ")
  4. print "Hi", first_name, last_name, "this is our first program.. bare with us. There are two commands; 'password' and 'count'"
  5. usname_check = ""
  6. uspass_check = ""
  7. command = ""
  8. #This figures out which command the user entered
  9. if command != "password":
  10.     command = raw_input ("what is your command: ")
  11. else command != "count":
  12.     command = raw_input ("what is your command: ")
  13. #This asks the user for UserName and Password if 'password' was entered
  14. if command == "password":
  15.         user_name = raw_input ("Your Desired UserName: ")
  16.         user_pass = raw_input ("Your Desired Password: ")
  17.         print "You can now use the command 'lock'"
  18. #This will count to 100 if the user entered 'count'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement