write a python command To display the name in this format :

Example: if user gives the name ‘Anna’ as the input, then t

write a python command To display the name in this format :

Example: if user gives the name ‘Anna’ as the input, then the output should be:

Congratulations! Anna.​

About the author
Alaia

1 thought on “write a python command To display the name in this format :<br /><br />Example: if user gives the name ‘Anna’ as the input, then t”

  1. Answer:

    name = input(“Enter name: “)

    print(“Congratulations! {}.​”.format(name))

    Explanation:

    output:

    Congratulations! Anna.​

    Reply

Leave a Comment