Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that does the following: Asks the user for their name and stores it in a variable called fullName . Asks the user

Write a program that does the following:

  1. Asks the user for their name and stores it in a variable called fullName.
  2. Asks the user for their year of birth and stores it in a variable named yearOfBirth.
  3. Calculates the user's age at the end of 2020 and stores it in a variable named age.
  4. Displays the information back to the user in the following format (replacing the variable names with the actual variable values):

Name: , born in Estimated Age:

Using Python language. Thanks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

2. Outline the functions of nonverbal communication

Answered: 1 week ago