DevJourney · code I wrote while learning
Area and perimeter of circle.py
137 Br=int(input("Enter radius of circle: "))
pi=22/7
p=2*pi*r
a=pi*r**2
print(f'The circle having radius {r} has perimeter {p} and area {a}')DevJourney · code I wrote while learning
r=int(input("Enter radius of circle: "))
pi=22/7
p=2*pi*r
a=pi*r**2
print(f'The circle having radius {r} has perimeter {p} and area {a}')