Computer Science, asked by sahil649334, 6 months ago

x = 300

def myfunc():

print(x)

myfunc()

print(x)

b) (1)

def menu1():

fig1 = “Hello”

fig2 = 89

print(fig1)

print(fig2)

menu1()x = 100 (1)

def myfunc():

global x

x = 45

print (x)

myfunc()

print(x)

d)

x = 50

X = 100

def myfunc():

y = X + 100

print(y)

myfunc()

print(x)

print(X​

Answers

Answered by cvs669870
0

Answer:

1 - Myfunc()

2 - Print( fig1)

3 - Print( x)

Answered by RuwaisnZaid
0

Answer:

300

300

Hello

89

200

50

100

this is output

Similar questions