MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonProjects2/comments/1sgsfwj/guess_the_output/of9z6t3/
r/PythonProjects2 • u/gackoedbotton4 • Apr 09 '26
17 comments sorted by
View all comments
Show parent comment
3
in the example you shared, how it will create new one each time? if x = is empty, it will create
the second time the list exist and not none, so it becomes x = [ 1, 1]
maybe i don't get it right?
1 u/Leviterion_HU Apr 10 '26 Yes, you have the correct answer. 1 u/[deleted] Apr 11 '26 [removed] ā view removed comment 1 u/L_Shiro Apr 11 '26 thanks but why you talk like chat gpt 1 u/ParticularLook5927 Apr 11 '26 haha šyeah Iām still new here, just trying to explain things clearlythis one confused me a lot when I first learned it too
1
Yes, you have the correct answer.
[removed] ā view removed comment
1 u/L_Shiro Apr 11 '26 thanks but why you talk like chat gpt 1 u/ParticularLook5927 Apr 11 '26 haha šyeah Iām still new here, just trying to explain things clearlythis one confused me a lot when I first learned it too
thanks but why you talk like chat gpt
1 u/ParticularLook5927 Apr 11 '26 haha šyeah Iām still new here, just trying to explain things clearlythis one confused me a lot when I first learned it too
haha š
yeah Iām still new here, just trying to explain things clearly
this one confused me a lot when I first learned it too
View all comments
Show parent comment
3
u/L_Shiro Apr 09 '26
in the example you shared, how it will create new one each time? if x = is empty, it will create
the second time the list exist and not none, so it becomes x = [ 1, 1]
maybe i don't get it right?