Choose the correct output of the given Python code.
Correct Answer: [36.0, 40.0, 52.0, 72.0, 100.0,136.0,180.0, 232.0] 266.5
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
Output of the following Python code class Son: def __init_(self. n): selfin = n print(self.n) def sayh(self): print(self.n) p = Son('0') p-sayho
Choose the correct output of the Python 3.4 code that is given in the image?
Output of the following Python language code? import threading def p_c(num): print('[}'.format(num ‘ num ‘ num)) def p_s(num): print('[}'.format(num ’ num)) if _name_ = '_main_': t1 = threading.Thread(target=p_s. args=l10.)) t2 = threading.Thread(target=p_c, args=(10,)) t1.start() t2.start0 11.join0 t2.join() prinl('1')
In relation to the socket() function in Python, which of the following constants represent the socket types? 1. SOCK_DGRAM 2. SOCK_RDM 3. SOCK_RAW 4. SOCK_SEQPACKET
Which modules are used with the FTP protocol in Python?
You need to run two applications which have conflicting dependencies. What Python tool would you use to solve this problem?
After executing the following statements, what is the value of var? var = 'dlrow olleh' var = var[::-1]
Which is true about (1,2,3,)
What is returned by the following expression: ('123',)[0]
Suppose a= [1,2,3]. What will be the value of 'a' after executing this command, a=a*3 ?