Skip to content

Instantly share code, notes, and snippets.

@Jasiri-w
Last active August 29, 2015 13:57
Show Gist options
  • Save Jasiri-w/9722368 to your computer and use it in GitHub Desktop.
Save Jasiri-w/9722368 to your computer and use it in GitHub Desktop.
Part1: The teaching of Python computer software.(Some extra editions added)
#Okay, first withe the extra stuff. On the first line one type in: 'print("What is your name?")' or anything about what their name is.
#On the second line make a variable called nm (can be something else) and designate it to the string; 'input("Name: ")'. Don't forget to put the = after the variable.
#On line three type in: 'print("Welcome to windows " + nm)'. the nm has to be what you called your variable on line 2.
#For the real thing. On line 4 make the variable called 'Use = ' and for it the string: 'input("Username: ")'.
#On line 5 type: 'while Use = "Jasiri:"'. The username can be different.
#On line 6 (make sure the begining of the line is tabed)type: 'Use = input("Incorrect username. PLease try again. ")'and don't forget the space at the end.
#On line 7 (// // // // // // // is not tabed)type: 'print("Loading")'
#See bottom for example on everything that is said here above. And Make Sure To See Part 2!!!
print("What is your name?")
nm = input("Name: ")
print("Welcome to windows, " + nm)
Use = input("Username: ")
while Use == "Bob":
Use = input("Incorrect username. Please try again. ")
print("Loading...")
@Jasiri-w
Copy link
Author

Awesome!!

@Jasiri-w
Copy link
Author

Wow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment