instructions that computers can understand. People Python x is a user inputted integer. x = int(input(“Num1?”)) y is a user inputted integer. y = int(input(“Num2?”)) If x is greater than y, then: if x > y: Print “x is bigger”. print(“x is bigger”) Else, if y is greater than x, then: elif y > x: Print “y is bigger”. print(“y is bigger”) Else: else: Print “same size”. print(“same size”) Value
The most basic unit of data in programming.
And we’re done. :) Matthew Laurence A. Uy Department of Quantitative Methods and Information Technology Ateneo de Manila University mluy@ateneo.edu