Computer Science, asked by shreyashedge529, 4 days ago

A=10 B= 33 if A< B: print ("B is greater than B") What is the output of this program? *​

Answers

Answered by BrainlyProgrammer
7

\sf{Given\ Co de: (Corrected)}

A=10

B=33

if A<B:

   print("B is greater than A")

Question:-

  • What is the output of the program?

Topic:-

  • Output Questions in python based on if-else

Required Answer:-

  • B is greater than A

Explanation:-

  • Given, A=10 and B=33
  • if A<B: #This line checks if A is less than B or not.
  • If A is less than B, it displays the output: "B is greater than A"
  • Otherwise, it displays no output.
Similar questions