String Method Task

Programming Questions

1. Write a program to create a string whose first character is upper case.

2. write a program to create a string all characters are lowercase.

3. Write a program to create a string count of a number of characters.

4. Write a program on how to encode and decode the string.

5. Write a program on how to endswith and startswith using the string.

6. Write a program on how to find value in the string.

7. Write a program on how to use all boolean methods.

8. Create a string using join and split methods

9. Create a string using the upper and lower method

10. Create a string using splitlines and swapcase

11. Create a string using replace and strip

Theory Questions

1. What are the capitalize() and casefold().

2. What are encoding and decoding.

3. What are endswith and startswith.

4. What are the find and index.

5. What are boolean methods.

6. What are join and split

7. What are lower and upper case

8. what are translate and partition

9. What are zfill and len forĀ 

10. what are title and replace