1. locals()globals()
2. locals()locals()
3. globals()locals()
4. globals()globals()
globals()
locals()
1. Error
2. 12
3. 15
4. 1512
15
1. Error
2. 100
3. 101
4. 99
100
1. 13
2. 10
3. 2
4. 5
13
1. Error
2. 13
3. 13x
4. x
x
1. error
2. hello
3. 16
4. 16hello
error
1. Error
2. 12 4
3. 4 12
4. 4 15
4 12
1. hellohello world
2. world hellohello
3. helloworldworld
4. worldhelloworld
world
hello
hello
1. [3,2,4]
2. [2,3,4]
3. Error
4. [3,4,2]
[3,4,2]
1. 1 2 3 4
2. 5 10 15 4
3. 10 20 30 40
4. 5 10 15 40
10 20 30 40