Programology – Telegram
Programology
7.29K subscribers
1.94K photos
771 videos
6 files
2.08K links
Pro·​gram | \ ˈPrō-ˌgram , -grəm \
:A Sequence Of Coded Instructions That Can Be Inserted Into A Mechanism (Such As A Computer)

Who We Are : https://msha.ke/programmerjokesofficial
Download Telegram
Options
Anonymous Quiz
63%
A
6%
B
6%
C
26%
D
Output:

5
Explanation:
In Python, everything is a reference, and references are passed by value. Parameter passing in Python is the same as reference passing in Java. As a consequence, the function can modify the value referred by passed argument, i.e. the value of the variable in the caller’s scope can be changed. Here the task of the function “addToList” is to add an element 10 in the list, So this will increase the length of the list by 1. So the output of the program is 5.
👍2
😁6👍1
Comment Output
👍2
Options
Anonymous Quiz
27%
A
64%
B
8%
C
1%
D
Comment Output
👎5🥰1
Options
Anonymous Quiz
39%
A
36%
B
12%
C
13%
D
👎4👏2
Comment Output
👍2
Options
Anonymous Quiz
44%
A
7%
B
20%
C
29%
D
👍2