Javaexercise.com

Python String Quiz for Beginners


1. What is string in Python?

  •   
  •   
  •   
  •   

2. How to create string in Python?

  •   
  •   
  •   
  •   

3. How to assign string to a variable in Python?

  •   
  •   
  •   
  •   

4. What is multiline string in Python?

  •   
  •   
  •   
  •   

5. How to traverse string in Python?

  •   
  •   
  •   
  •   

6. How to find lenght of string in Python?

  •   
  •   
  •   
  •   

7. How to find first letter of string in Python?

  •   
  •   
  •   
  •   

8. How to find sub string present in a string?

  •   
  •   
  •   
  •   

9. How to print second last character of string in Python?

  •   
  •   
  •   
  •   

10. Is string support slicing in the Python?

  •   
  •