Question
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
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