Answered step by step
Verified Expert Solution
Question
1 Approved Answer
question 9 Name: Question 9 (10 points) Consider the following simple decision. What is the output if hour is 13? Is this a correct format
question 9
Name: Question 9 (10 points) Consider the following simple decision. What is the output if hour is 13? Is this a correct format for a time of day? What is one way to fix this so that the output is correct? postscript = "AM" if hour > 12: postscript = "PM" print(hour + ":00 " + postcript) Question 10 (10 points) Write a set of python statements to draw a green line from the center of the window straight up 100 pixels using the python turtle module. Import turtle Turtle. forw.id (25) turtle. sight (30) title. Color Chao) besine fill C7 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