1. What is the maximum possible length of an identifier in Python?





2. Following set of commands are executed in shell, what will be the output?

         >>>str="hello"
         >>>str[:2]
         




3. What is the maximum possible length of an identifier in Python?





4. What is the return type of function id ?





5. Which of the following results in a SyntaxError ?





6. Which of the following is not a complex number?





7. Which of the following is incorrect?





8. What is the output of the code: print(bool('False'))





9. Out of List and Tuple which is mutable ?





10. Are string references mutable ?




11. Are string objects mutable ?




12. Is there a do – while loop in Python ?




13. In Python which is the correct method to load a module ?





14. What is the name of data type for character in Python ?





No comments:

Post a Comment

If you have any doubts, let me know.