Presentation is loading. Please wait.

Presentation is loading. Please wait.

String Manipulation.

Similar presentations


Presentation on theme: "String Manipulation."— Presentation transcript:

1 String Manipulation

2 The len method counts the number of characters in a string.
String Manipulation Python has lots of built in methods that allow us to easily manipulate strings. The len method counts the number of characters in a string. Try it for yourself:

3 Explain what the code does:
Example Method 1 Try this code: Explain what the code does:

4 Explain what the code does:
Example Method 2 Try this code: Explain what the code does:

5 Explain what the code does:
Example Method 3 Try this code: Explain what the code does:

6 Explain what the code does:
Example Method 4 Try this code: Explain what the code does:

7 Explain what the code does:
Example Method 5 Try this code: Explain what the code does:

8 Explain what the code does:
Example Method 6 Try this code: Explain what the code does:


Download ppt "String Manipulation."

Similar presentations


Ads by Google