how to save inputs python

Do you want to know the information regarding “how to save inputs python”. If yes, you’re in the correct post.

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


I hope this post helps you to know about “how to save inputs python”. If you have any doubts regarding this tutorial please let us know via the comment section. Share this tutorial with your friends & family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment