1. Who created Python?

2. What is Python?

3. What symbol is used for comments in Python?

4. Which of these is a mutable data type?

5. Which of these is immutable?

6. What is the output of type(10)?

7. What is the difference between / and // in Python?

8. What is bool data type used for?

9. Which of the following is correct to create a set?

10. Which of the following is used for key-value pairs?

11. What is the output of len("Python")?

12. Which of these is used to create a function?

13. Which of these is used to pass multiple values to a function as tuple?

14. Which is used to pass multiple key-value pairs to a function?

15. Which operator is used for exponentiation in Python?

16. What is the output of 3 * "Hi"?

17. Which of the following is used to handle exceptions in Python?

18. Which of these converts a string "123" to integer?

19. Which of these is used to generate a random number?

20. Which of the following is true about Python?

21. Which of these is used to create a multi-line string?

22. Which of these can change the case of a string to uppercase?

23. Which of these methods removes whitespace from both ends of a string?

24. How do you check if a substring exists in a string?

25. Which of these will repeat a string 3 times?

26. How do you create an empty list?

27. Which method adds a single element to a list?

28. Which method adds multiple elements to a list?

29. Which of these removes an element from a list by value?

30. How do you find the length of a list?

31. How do you sort a list in ascending order?

32. How do you convert a tuple to a list?

33. Which operator is used to find the union of two sets?

34. How do you access a value in a dictionary?

35. Which method returns all keys in a dictionary?

36. Which of these is a lambda function?

37. What is the output of bool(0)?

38. Which of these converts a list to a string?

39. What is the output of 5 == 5.0?

40. Which function returns the largest number from a list?

41. Which keyword is used to inherit a class?

42. Which statement is used to skip the current iteration in a loop?

43. Which statement is used to stop a loop completely?

44. Which method removes an item at a specific index from a list?

45. Which method adds an element at a specific index in a list?

46. Which of these checks if a key exists in a dictionary?

47. Which of these removes duplicates from a list?

48. What is the output of type(3+4j)?

49. Which of these can be used as a loop control statement?

50. Which of these is used to check membership in a sequence?

?? Back