Computer Science, asked by akashck0007, 5 months ago

Q). Write a program to input a number and check whether its greater than 50 if yes print "greater" in python.​

Answers

Answered by sameer7815
51

n=int(input("enter a no"))

if n>50:

print("greater")

else:

print ("not greater")

hope it helps

please mark as brainliest

Answered by allysia
87

Answer:

Here you go,

\\\tt a=int(inp ut("Enter\ a\ number: ")) \\\ttif\ a>50: \\\tt{\qquad    print("greater")}\\\tt else: \\\tt {\qquad    print("not\ greater\ than\ 50.")}

Similar questions