Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

perimeter of semicircle formula

import math

r = int(input("Enter the radius of the circle: "))
print(f"The formula to find the perimeter of a semicircle is πr + 2r, so the answer is {math.pi*r + 2*r}")
Comment

PREVIOUS NEXT
Code Example
Python :: pyspark add string to columns name 
Python :: do you have to qualift for mosp twice? 
Python :: python scratch cloud variabelen 
Python :: pandas rename column name 
Python :: python sum of digits in a string 
Python :: how to print for loop in same line in python 
Python :: pyautogui install 
Python :: python read file in string list 
Python :: how to plot heatmap in python 
Python :: python read word document 
Python :: how to redirect to another page in django after login 
Python :: what is r strip function in python 
Python :: How to add card in trello API using python 
Python :: how to add subplots for histogram in pandas 
Python :: how to see if a proxy is up in python 
Python :: read excel sheet in python 
Python :: twilio python 
Python :: dict godot 
Python :: how to say hello world 
Python :: wait() in python tkinter 
Python :: Remove the First Character From the String in Python Using the Slicing 
Python :: program to find even numbers in python 
Python :: vsc python close all functions 
Python :: pygame event mouse right click 
Python :: connect to mysql database jupyter 
Python :: arithmetic python string 
Python :: python check disk space 
Python :: python ndarray string array into int 
Python :: python get news headlines 
Python :: pyqt5 change table widget column width 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =