Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NOTE : This is a python assignment Instructions: Create one python file for each question and upload it to your personal Home- work folder inside

NOTE : This is a python assignment Instructions: Create one python file for each question and upload it to your personal Home- work folder inside \\Spring-2022-Assignments-Name-LastName\". Write every program as a main function and then call the function--main, using the format: def main(): , main() 1. Write a program that ask a user for a number (not necessarily an integer) to be the radius of a circle. Create a variable \"R\" to storage the number entered by the user and calculate and print the area of the circle of radius R. You may need to import the math module to be able to use pi . The formula for the area of the circle of radius R is A = piR^2. 2. Write a program that prints all number in the range 1 to 1000 that are divisible by 91. Print your numbers without a new line at the end of each number, only with a space between them

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_2

Step: 3

blur-text-image_3

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 Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

In Exercises determine the limit. lim -0-x X

Answered: 1 week ago