Correct Answer: 8 2
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
Analyse the given Python code and answer the question that follows. import math a = math.pi/6 b = 3 c = 4 print (math.tan(a)) print ('result = ', end='') print (math.hypot(b,c)) What will be the correct output of the above Python code?
What would be the output of the given Python code. when executed?
Output of the following Python language code? def square(n): return (n‘n+1) if _name_ = '_main__': mt = [1,2,3,4,5,0] rt = [] for num in mt: rt.append(square(num‘2)+1‘4) printlrt)
Correct answer from the given options. n1 = 1.5 n2 = 6.3 s = float(n1) + float(n2) print('{0}'.format(s)) s //= 3 print(s)
In relation to the exceptions in Python, which of the given exceptions is raised when a generated error code does not fall into any category?
What do you do to implicitly concatenate two literal strings?
Which word is standard library functions? apply, complex, has, min, setaddr
Which of these lines will reverse a list named 'foo'?
Using the python string module, what would the following return: string.join(['Python', 'is', 'great']) ?
The code 'lambda x: return x' will do what?
Python MCQs | Topic-wise