Answers for "how to save when something is put in a input in python"

1

how to save inputs python

#this is a getname command for example

# Function gets name from user
def get_name():
    print("Hello what is your name?")
    name = input("My name is: ")
    print("Hello ", name)
    return name
  
#  you can use the name as a variable in prints
print(name, 'you did very well')
#pls upvote
Posted by: Guest on March-11-2021

Code answers related to "how to save when something is put in a input in python"

Python Answers by Framework

Browse Popular Code Answers by Language