Code Avengers Python 1 Answers May 2026
a = 10 b = 3 print(a + b) print(a - b) print(a * b) print(a / b) The output of the code is:
fruits = ["apple", "banana", "cherry"] for fruit in fruits: print(fruit) The output of the code is: code avengers python 1 answers
greet("John") The output of the code is Hello, John! . a = 10 b = 3 print(a +
def greet(name): print("Hello, " + name + "!") John! . def greet(name): print("Hello
x = 5 y = "5" print(x == y) The output of the code is False . This is because x is an integer and y is a string, even though they have the same value.