def p_num():
    global num
    num = 10
    print (num)

num = 5
p_num()
print(num)

相关文章: