13 函数练习三

#!/usr/bin/env python
# -*- coding:utf-8 -*-

# x = 10
# def func():
#     x = 9
#     print(x)
#     def x1() 
#         x = 999
#         print(x)
#     x1()
#
# func()


# x = 10
# def func():
#     x = 9
#     print(x)
#     def x1():
#         x = 999
#         print(x)
#     print(x)
#     x1()
#
# func()

# x = 10
# def func():
#     x = 8
#     print(x)
#     def x1():
#         x = 999
#         print(x)
#     x1()
#     print(x)
#
# func()


# x = 10
# def func():
#     x = 8
#     print(x)
#     def x1():
#         print(x)
#     x1()
#     print(x)
#
# func()



# x = 10
# def func():
#     x = 8
#     print(x)
#     def x1():
#         print(x)
#     x = 9
#     x1()
#     x = 10
#     print(x)
#
# func()

#
# x = 10
# def func():
#     x = 8
#     print(x)
#     def x1():
#         print(x)
#
#     x1()
#     x = 9
#     x1()
#     x = 10
#     print(x)
#
# func()
posted @ 2024-09-25 22:41  jhchena  阅读(2)  评论(0编辑  收藏  举报