ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
Programming and Problem Solving through Python
: Functions in Python
फ़ंक्शन डिमोड (ए, बी), जहां दोनों 'ए' और 'बी' इन्टिजर हैं, का इवैल्यूऐटनिम्नानुसार किया जाता है: , The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:
The function divmod(a,b), where both ‘a’ and ‘b’ are integers is evaluated as:
A.
(a%b, a//b)
(a%b, a//b)
B.
(a//b, a%b)
(a//b, a%b)
C.
(a//b, a*b)
(a//b, a*b)
D.
(a/b, a%b)
(a/b, a%b)
Solution
B. (a//b, a%b)
Explanation
The function divmod(a,b) is evaluated as a//b, a%b, if both ‘a’ and ‘b’ are integers.
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad