What will be the output of this Python code snippet? 🤔

preview_player
Показать описание
In this Python snippet, the variable b is assigned the reference of a. Then, a is reassigned to a new list after concatenation with [4, 5]. Will b be affected by this reassignment? Comment your answer!

#Python #CodingQuiz #PythonMCQ #Programming #PythonTricks #LearnPython #CodeChallenge #interviewquestions
Рекомендации по теме
welcome to shbcf.ru