Skip to content

den01-python-programming/exercise-1-7-greeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise 1.7 - Greeting

Write a program that takes user input after being prompted What is your name?. When the user has written their name, the program has to print "Hi " followed by the user's name.

The exercise template comes with a program template that includes the function and its call.

def main():
  #write your code below this line

if __name__ == '__main__':
    main()

Example output when user gives the name Ada.

What is your name?
*Ada*
Hi Ada

Example output when user gives the name Lily.

What is your name?
*Lily*
Hi Lily

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages