Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the IDLE code editor, create python code that requests a person's name and age as input, then if the person is older than 21,

image text in transcribed

Using the IDLE code editor, create python code that requests a person's name and age as input, then if the person is older than 21, outputs a full sentence using the inputs saying they can party hardy". Otherwise it should output a full sentence saying it's great to be young that includes their name. Include one line of comment explaining each line of code: Test your code to make sure it works, then paste your code into the space below

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

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions