Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _g = globals()
- for i in range(1, 4):
- _g['ball' + '_' + str(i)] = i * i
- print(ball_1)
- print(ball_2)
- print(ball_3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement