Computer Science, asked by aanya2075, 2 months ago

Evaluate the output:- [3 x 3 = 9]

(i) for X in range (5):

print(X)

(ii) num= 5

if(num%2==0):

print("Number is even")

else:

print("Number is odd")

(iii) Let x= 2

if (x==1):

print("yes")

elif (x==2):

print("maybe")

else print ("no")​

Answers

Answered by daminidk
0

Explanation:

The Sun is the major source of heat and light in our solar system. Heat and light support all forms of life on the Earth. 2. The gravitational pull of the Sun is responsible for keeping the planets in their orbits.

Answered by ankitkumar1598
0

Answer:

hiThe modulus operator¶

The modulus operator¶The modulus operator works on integers (and integer expressions) and yields the remainder when the first operand is divided by the second. In Python, the modulus operator is a percent sign (%). The syntax is the same as for other operators

Similar questions