Computer Science, asked by sanvi146019, 4 days ago

Write a program in python to print the sum of numbers from 10 to 15. If the sum is even print “Hi” and “Bye” if sum is odd.

Answers

Answered by PratyushJain69
0

Answer:

for I in range(10,16):

let num1 = I

for Y in range(10,16):

let num2 = Y

let sum = num1 + num2

if sum//2:

print("hi")

else:

print("bye")

Similar questions