Skip to content

Tag Archives: Python-Quizzes-Miscellaneous

Which of the following is correct about Python? (A) It supports automatic garbage collection. (B) It can be easily integrated with C, C++, COM, ActiveX,… Read More
To start Python from the command prompt, use the command ______ (A) execute python (B) go python (C) python (D) run python Answer: (C) Explanation:… Read More
________ is a simple but incomplete version of a function. (A) Stub (B) Function (C) A function developed using bottom-up approach (D) A function developed… Read More
Given a string s = “Welcome”, which of the following code is incorrect? (A) print s[0] (B) print s.lower() (C) s[1] = ‘r’ (D) print… Read More
What is the output of the following program :  Python3 print \"Hello World\"[::-1] (A) dlroW olleH (B) Hello Worl (C) d (D) Error Answer: (A)Explanation:… Read More