Answered step by step
Verified Expert Solution
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,
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started