Question: Python After executing the following codes in Jupyter notebook, the value of y is , the value of num is , and the first element
After executing the following codes in Jupyter notebook, the value of y is , the value of num is , and the first element in Ist (i.e. the element with index 0) is num = 4 1st - [2,3,4) def modifier(num, 1st): num = 1 1st[ 0 ] - 1 return num y = modifier(num, lst)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
