Help a friend

Report a typo

You decided to study Python on Hyperskill with your friend. However, they couldn't read this topic due to family matters and asked you to brief them. You did your best with the theory, but now, it's time to practice. Correct the code your friend wrote so it would print a compliment.

Sample Input 1:

Mary
awesome

Sample Output 1:

Hi, Mary! You look awesome today! You're doing great!
Write a program in Python 3
template = string.Template("Hi, $name! You look adjective today! You're doing great!")
name = input()
adjective = input()
compliment = template.format(name=name, adjective)
print(compliment)
___

Create a free account to access the full topic