Answers for "python take input save as html"

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

Python Answers by Framework

Browse Popular Code Answers by Language