Python Program
Python Program
Output :
String concatenation:
s3=s1+s2
print(s1[1:])
largest = num1
largest = num2
else:
largest = num3
f=(celsius*1.8)+32
c=(farenheit-32)/1.8
o/p
Enter the temperature in celcius:37.5
Enter the temperature in farenheit:98
Temperature in celsius is: 36.666666666666664
Factorial:
def recur_factorial(n):
if n == 1:
return n
else:
return n*recur_factorial(n-1)
if num < 0:
elif num == 0:
else:
O/p: