Question: 1) Write a Python program which accepts the radius of a circle from the user and compute the area. Sample Output : r = 1.1

1) Write a Python program which accepts the radius of a circle from the user and compute the area.

Sample Output : r = 1.1 Area = 3.8013271108436504

(Area should print as 3.80)

2) Write a Python program to display the first and last colors from the following list.

color_list = ["Red","Green","White" ,"Black"]

3) Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn.

Sample value of n is 5 Expected Result : 615

4) Write a Python program which accepts the radius of a sphere from the user and compute the volume of the sphere. Print the result

5) Write a Python program to ask the user to enter an x and a y value. Then calculate (x + y) * (x + y) and print the result

EXTRA BONUS:

1) Write a Python program to find whether a given number (accept from the user) is even or odd, print out an appropriate message to the user.

*So I'm new to programming and need some help with these if anyone is willing to help me out, my class is using python from the site. This is very basic programming stuff and I'm a bit lost, I appreciate all the help! Thank you very much

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!