Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 2 Lncs 8056

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013th Edition

3642401724, 978-3642401725

More Books

Students also viewed these Databases questions

Question

2. Are my sources up to date?

Answered: 1 week ago