Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You must submit your own work and only use concepts being taught in class. 1. In a Python program, what would be an appropriate name

image text in transcribed
You must submit your own work and only use concepts being taught in class. 1. In a Python program, what would be an appropriate name and an appropriate datatype for variables that store o the price o the colour o the waist size, e.g. 28, 30, 32, etc. o the leg length, e.g. 30, 32, 34, etc. of a pair of pants? Answer these questions in the text editor of this assignment. For each of the following programs, start your code with three comment lines explaining what your program does, your name as the author, and today's date. I 2. Area of a Circle Write a Python program (called Circle.py) that calculates the area of a circle for the user. How the program runs when the user enters 10: Enter the radius of the circle: 10 The area of the circle is 314.15999999999997 Use the formula 3.1416r to calculate the area. r is the radius of the circle. Submit Circle.py. 3. Convert Minutes to Hours and Minutes Write a Python program (called Minutes To Hours.py) that calculates how many hours and now many remaining minutes are in a value(minutes) entered by the user (just use what we have learned so far, no if...else) How the program runs, when the user enters 65: Enter minutes: 65 65 minutes are 1 hours, and 5 minutes

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 Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions