Program
Program
following
x=int(input(“Enter x:”))
if x%2==0:
else:
print(“ x is odd:”)
x=int(input(“Enter x:”))
if n > 0:
print(“Positive”)
else:
print(“Negative”)
palindrome or not.
n=x
rev=0
while n>0:
rem=n%10
rev=rev*10+rem
n=n//10
if x==rev:
else:
print(x, “is not a palindrome “)
a = 10
b = 14
c = 12
largest = a
largest = b
else:
largest = c
4) Write a python program the prompts the user for Celsius temperature .convert the
temperature to Fahrenheit .print out converted temperature.