please answer this question of computer working should be in IDLE answer all of them python
Attachments:
Answers
Answered by
1
Answer:
Q1
def circle(rad):
pi = 3.14
cir = 2*pi*rad
ar = pi*rad*rad
print('Circumference is ',cir)
print('Area is ',ar)
rad = int(input())
circle(rad)
Q2
def rect(l,b):
p = 2*(l+b)
ar = l*b
print('Perimeter is ',p)
print('Area is ',ar)
l,b = map(int,input().split())
rect(l,b)
PLEASE MARK ME BRAINLIEST
Explanation:
Similar questions