Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foobar = [['eshe ne sosnul']*2]*2
- print(foobar)
- [['eshe ne sosnul', 'eshe ne sosnul'], ['eshe ne sosnul', 'eshe ne sosnul']]
- foobar[0][0]='a potom takoi vnezapno zaglotnul'
- print(foobar)
- [['a potom takoi vnezapno zaglotnul', 'eshe ne sosnul'], ['a potom takoi vnezapno zaglotnul', 'eshe ne sosnul']]
- #анон, ну чому?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement