PYTHON PROGRAMS
Fahrenheit
C=float(input(“enter c=”))
f=c/5*9+32
print(“f=”,f)
Area of a Circle
R=float(input “entre radius=”))
A=3.14*r**2
C=2*3.14*r
Print(“area=” ,a)
Print(“cir=”,c)
FINDING MAX NUMBER
a=int(input(“enter 1st no=”))
b=int(input(“enter 1st no=”))
if a>b:
print(“max=”,a)
else:
print(“max=”,b)
FINDING EVEN OR ODD NUMBER
a=int(input(“enter no=”))
if a%2==0:
print(“even no”)
else:
print(‘odd no”)
FINDING SUM NUMBER
a=int(input(“enter 1st no=”))
b=int(input(“enter 2nd no=”))
c=a+b
print(“sum=”,c)