# Python program to calculate the area and circumference of the circle.

Here is a python program to find the area of the circle and circumference of the circle.

Contents

## Area of circle

```
#Python program to calculate the area and circumference of the circle.

pi = 3.14

#Area of the circle

print('\n\nCalculate the area of the cirlcle with 4 radius')
print('π = 3.14')
print('r = 4')
print('Radius of circle = πr2 = ',area)

# This code is contributed by Ahmad Shafiq

```

## Circumference of circle

```
#Python program to calculate the area and circumference of the circle.

pi = 3.14

#Circumference of the circle

print('\n\nCalculate the circumference of the cirlcle with 4 radius')
print('π = 3.14')
print('r = 4')
circumference = 2 * pi * radius
print('Circumference of circle = 2πr = ', circumference)

# This code is contributed by Ahmad Shafiq

``` ## Love this read? Subscribe to Modernage!

Do you have any queries? You can ask in the comments. We, at Modernage answer each and every question, asked in the comments, so If you have any queries, or you want to know about any specific platform you can ask in the comments below

## Author ## More Articles.  ### Python program to separate the characters of a string and to find the length of the string.

First, We have to store the first and last names in two variables. Then, use concatenation to concatenate yournames and then print it. Also, print  ### What is WEB3? Why is it important! (Simply Explained)

Famously known as web 3.0, web3 is an era referring to decentralization. Whether it is decentralized apps commonly known as DApps or decentralized finance generally  ### Python program to take two integers from the user and determine and print whether the first is a multiple of the second.

Here is the code for the python program to take two integers from the user and determine and print whether the first is a multiple

## Python

### Ask the user to print two numbers ‘x’ and ‘y’ then print out the number ‘x’ raised to power ‘y’. ## More Articles.  ### What is Blockchain: A beginners guide to blockchain

With the technology evolving more than ever, we have  ### What is Selfie Art World? Best place to visit in Pakistan

Art represents the cultural heritage of a society. It  