Question: I am writing the following code for Python 3. The following is the input. name = input('What is your name?') age = int(input('How old are
I am writing the following code for Python 3. The following is the input.
name = input('What is your name?')
age = int(input('How old are you?'))
print('Hello',name,'!', 'You were born in',2020 - age,'.')
The following is the output
What is your name? Heidi
How old are you? 51
Hello Heidi! You were born in 1969.
I need to make the name after the question What is your name? BOLD. I can not figure how to do it. Can you please help with the Python code?
Thanks,
Dee
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
