Hacker News story: So you think you know Python

So you think you know Python
Quiz: what is the value of foo after this code is run? foo=[0];bar=[foo];foo[0]=bar Extra credit: 1) what is bar[0] 2) foo==bar 2 comments on Hacker News.
Quiz: what is the value of foo after this code is run? foo=[0];bar=[foo];foo[0]=bar Extra credit: 1) what is bar[0] 2) foo==bar

Hacker News story: So you think you know Python Hacker News story: So you think you know Python Reviewed by Tha Kur on October 09, 2020 Rating: 5

No comments:

Powered by Blogger.