subject

g Write a Python program to calculate the perimeter and area of a circle: 1) create a global constant PI and assign the fixed value 3.14 to it (it must be used for calculations in the program). 2) create a global variable radius, and asks the user to enter an initial value for it. 3) define a function named cal_perimeter which has no parameter. This function calculates and prints out the perimeter of the circle using the following formula. formula: circle's perimeter

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
You know the right answer?
g Write a Python program to calculate the perimeter and area of a circle: 1) create a global constan...
Questions
question
Mathematics, 11.11.2019 08:31
question
Mathematics, 11.11.2019 08:31
Questions on the website: 13722361