What is string? Explain various operations associated with strings, Mention various string formatting operators | |
2. | Explain the immutability property of strings. Give suitable example |
3. | Explain slice () operation with suitable example. |
4. | Write short note on following functions: i).ord() ii)chr() |
5. | Explain following operators with example each: i).in ii).not in |
6. | Explain String comparison operators with suitable example. |
7. | How to convert signed integer decimal. |
8. | Explain string splitting with suitable syntax. |
9. | Write a program to import a string. |
10. | Write some methods applicable in ‘str’ class. Give example. |
11. | What is used in python as well as various programming languages to concatenate the string/s? give example. |