Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help needed in python simple tasks ! Thanx Write a program named program31.py that prompts the user to enter an integer, then responds by identifying

Help needed in python simple tasks ! Thanx

image text in transcribed

Write a program named program31.py that prompts the user to enter an integer, then responds by identifying the input as either odd or even as appropriate. Write a creative program named program32.py that delivers a short quiz (two questions only) about our solar system. The program should pose the questions, prompt the user for the answers, and provide positive or negative feedback as appropriate. The questions are up to you except for this requirement: one quiz question should require a string answer and the other should require a numeric answer. Orinoco.com sells T-shirts online for $9.99 each. Discounts on the shirts are provided for quantity orders as follows: 40% off for 15 or more shirts. 30% off for 10 or more shirts. 20% off for 4 or more shirts. Shipping and handling is charged at $1.05 per shirt. Write a Python program named program33.py that prompts the user to enter the quantity of an Orinoco order, then displays the charges for the T-shirts, the required shipping charges, and the total cost of the order. Note that three outputs are required. All charges should be displayed in currency format with the $ sign right up against the first digit

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions