Computer Science, asked by teawithv7, 2 months ago

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.​

Answers

Answered by sravanimekala3142
0

Answer:

name = input("Enter name: ")

print("Congratulations! {}.​".format(name))

Explanation:

output:

Congratulations! Anna.​

Similar questions