Skip to content

Instantly share code, notes, and snippets.

@maf946
Created October 2, 2020 18:28
Show Gist options
  • Save maf946/cdce4f178097439cd0e57da6bd59d1b5 to your computer and use it in GitHub Desktop.
Save maf946/cdce4f178097439cd0e57da6bd59d1b5 to your computer and use it in GitHub Desktop.
# say hello to the user
def printName(userName):
print("Hello, " + userName)
while 1:
userName = input("Please enter your name: ")
printName(userName)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment