Python Quiz-4 Get link Facebook X Pinterest Email Other Apps - May 01, 2020 PYTHON QUIZ ONLINE Basic python quiz which includes questions on python operators, datatypes like list , loops , conditional statements.The answers for the question is shown below. 1. Which of the following operation can be used in a string ? + - / % See Answer Option A 2. ____ operator is used to find whether a character is present in a string ? not as in or See Answer Option C 3. Find the length of the string , "apple" . 4 5 1 0 See Answer Option B 4. The built-in function to count the occurrence of element in a list is __ Coun occur count num See Answer Option C 5. The function used to convert the characters to lowercase ? lowercase() shift() lower() small_lett() See Answer Option C 6. An empty set is represented as ____ {} [] () set() See Answer Option D 7. _____ function returns true if all characters in a string are letters ? isalpha() isletter() isbeta() ischar() See Answer Option A 8. Which of the following adds new line in python . \n new_line /n /N See Answer Option A 9. S[2] in S= "band" is _____ a n b d See Answer Option B 10. S[-1] in S="band" ____ a n b d See Answer Option D