-->

Encrypting your link and protect the link from viruses, malware, thief, etc! Made your link safe to visit.

Some Question

We have made many concepts. The time has come to know how much you have learned. I will give you some basic Python concepts. All exercises are very easy. Each problem will be resolved in the next blog. Do not go directly to the solution, try it yourself first.


1) Write a python program to calculate and print the number of feet in 13 miles. (1 mile = 5280 ft)

2) Write a python program to calculate and print the number of seconds in 7 hours, 21 minutes and 37 seconds.

3) Write a Python program that calculates the length in the length of the circumference of a rectangle with length 4 inches and 7 inches and prints. (A rectangular = 2w + 2h perimeter)

4) Write a python statement which calculates and prints the circumference in the circle's inch, whose radius is 8 inches. Suppose continuous π = 3.14 (circumference = circle of 2πr)

5) P dollars given, when the future value of this money is collected at an interest rate of R per annum, then P (1 + 0.01 R) is Y. Write a python statement that calculates and prints the value of $ 1000 on 7% interest for 10 years.

6) Write a Python expression that combines the string "Joe Warren is 52 years old." String "Joe Warren" and number 52 and then prints the result (Hint: Use the function str to convert the number to string.)

7) Distance between two points (x0, y0) and (x1, y1) (x0-x1) 2+ (y0-y1) 2. Write a python statement that calculates and prints the distance between points (2,2) and (5,6).

ST

Social

Recent

⬇⬇Get Your Link⬇⬇