a guest May 17th, 2018 152 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- '''' this program is about taking user input
- as name and wish hello follwed by his name'''
- def get_user_name():
- name = input("Enter your name")
- return name # here we r returning the value
- def say_hello(msg):
- greet = "HELLO"
- print (greet,msg)
- def main(): # we are calling on function in another function
- user = get_user_name()
RAW Paste Data