Q&A Discussions

a,b=0,1 a,b=b,a+b print(a,b)
pythonvariables
0 Votes
1 Answer
27th Jul 2019, 9:45 AM
Dhyey Badheka
Dhyey Badheka - avatar
who can tell me what happens in this code?
a[0][0]=5a=[[0]*2]*2b[0][0]=5b=[[0,0],[0,0]]print(a,b)
1 Vote
4 Answers
11th Apr 2021, 3:40 PM
ice
ice - avatar
Hot today
how to deal with large numpy arrays
4 Votes
The if statement does not run although it is True.
0 Votes
How to insert images the right way??
0 Votes
Help me debug programm
0 Votes
Не понимаю что не так....
0 Votes
In operator confusing example
1 Votes
Anyone see what's wrong with this code?(Python)
0 Votes
"That's Odd..." Problem using c#
0 Votes
Why radio input is not working?
0 Votes
Где найти уроки PHP на русском языке?
0 Votes
Follow us on Linkedin
Check out our facebook
See what we tweet about
Join our instagram
Watch our Youtube
HomeProFAQContactBug Bounty ProgramCareersTerms of UsePrivacy PolicySololearn Mobile
Made with
by  Sololearn | ©2023