Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
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

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

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Explain the need for and importance of co-ordination?

Answered: 1 week ago

Question

Explain the contribution of Peter F. Drucker to Management .

Answered: 1 week ago