Correct Answer: 8000
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
How can one serve current directory in http?
Python packages can be imported from inside a Zip file.
Which is the correct code for obtaining a random whole number from 1 to 1,000,000 in Python 2.x?
In Python, what does the 'dir' builtin do?
Which will return the 10th element of a list, or None if no such element exists?
Output of the following Python code? import sys rList = ['a', 0, 2] for bn in rList:
Output of the following Python code? def part1(): low = 365 up = 372 for num in range(low, up + 1): order = len(str(num)) s = 0 temp = num while temp > 0: digit = temp % 10 s += digit ** order temp //= 10 if num == s: print(num) part1()
Choose the correct answer from the given options. def print_f(x): y=0 for i in range(1, x + 1): if x % i == 0: y=y+i+1 print(y) num = 32 print_f(num)
Which shell expression will give the result as an integer value? 1. >>> (100 - 4 x 5) / (20 - 2 x 5) 2. >>> 7.0 / 4 3. >>> 5 / 4 4. >>> 2 x 4 / 2 5. >>> 5 - 2
Correct answer from the given options. double = lambda x: x * 2 mt = [1, 5, 4, 6, 8, 11, 3, 12] ns = list(filter(lambda x: (x%2 == 0) , mt)) print(double(6)) print(ns)