Computer Science, asked by Rithikka74, 7 months ago

What will the following function return?
def addEm(x, y, z):
print(x + y +z)
4. What will the following function print when called?
def addEm(x, y, z):
return x + y + z
print(x + y + z)
5. What will be the output of following programs?
(1) num = 1
def my func():
return num
print(num)
print(my func())
print(num)
(ii) num = 1
def myfunc();
global num
num = 10
return num
print(num)
print(my func())
print(num)​

Answers

Answered by Aryansingh001
3

Answer:

printrinishal))

print("vishal')

print indian")

print("vishal", end="")

print("indian")

a-int(input("enter first no"))

beint(input("enter second no"))

a,beba

print("a",a)

print("b=",b)

Hif user is entering 6 and then 12​

Explanation:

Similar questions