Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. Write a Python script that will: 1. prompt the user for their year of birth 2. print out their age 3. print out

5. Write a Python script that will: 1. prompt the user for their year of birth 2. print out their age 3. print out the number of years until their next "decade" birthday (10, 20, 30, 40, etc.)

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

Step: 3

blur-text-image

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

Programming Logic & Design Comprehensive

Authors: Joyce Farrell

9th edition

978-1337102070

More Books

Students also viewed these Programming questions

Question

DN 1 0 " a - z & A - Z Appologies for not ? ( A - Z a - z ) "

Answered: 1 week ago

Question

Question 2 For an n x n matrix A = form) via (aij)

Answered: 1 week ago