Professional Documents
Culture Documents
5. Appending - e. 0 5- i
6. Repeating - f. %s 6- g
7- b
7. Stride default value - g. *
8- d
8. Concatenation - h. %o
9- c
9. Slicing operator - i. +=
10 - a
10. Check string - j. %f
IV. Say true or false:
1. Strings in python are mutable. [False]
2. Subscript value is also called as index value. [True]
3. The index values can be negative numbers. [True]
4. Any type of numbers can be used as index value. [False]
5. del command is used to delete a particular character from string. [False]
6. Curly braces { } are used as placeholders in format() function. [True]
7. ‘+’ operator is used to append a string at the end of an existing string. *False+
8. Displaying a string for ‘n’ number of times is called repeating. *True+
9. Slice is a part of main string. [True]
10. The tile() function returns the string in uppercase. [False]