Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions in Programming in Python
#1
949
views
1
answers
0
votes
GATE DS&AI 2024 | Question: 28
Consider the following Python code:def count(child_dict, i):if i not in child_dict.keys():return 1ans $=1$for $j$ in child_dict[i]:ans $+=$ count (child_dict, j) ... $ )Which ONE of the following is the output of this code?$6$1$8$9$
Arjun
949
views
Arjun
asked
Feb 16
Programming in Python
gate-ds-ai-2024
programming
+
–
#2
1.2k
views
2
answers
0
votes
GATE DS&AI 2024 | Question: 31
Consider the following Python function:def $\operatorname{fun}(D, s 1, s 2)$ :if $\mathrm{s} 1<\mathrm{s} 2$ ... at indices $\mathrm{s} 1$ and $\mathrm{s} 2$, and leaves the remaining elements unchanged.
Arjun
1.2k
views
Arjun
asked
Feb 16
Programming in Python
gate-ds-ai-2024
programming
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register