DEV Community

Cover image for Day 7 of documentating my learning journey
James Kabuga
James Kabuga

Posted on

Day 7 of documentating my learning journey

What I learnt Today

1.Various string operators
2.Various string methods

String Operators

a) Concatenation
This is adding strings together.
It is achieved by use of the plus sign (+)

Example in action:

b) Repetition

As the name suggests it is printing a string multiple times.

It is achieved by use of the asterisk sign(*)

Example in action:

String methods

Various string methods.

1.upper()
2.lower()
3.title()
4.strip()
5.len()
6.replace()
7.split()

Example in action:

Resources I used

I used github and python series by Bonaventure Ogeto

What's Next

Tomorrow I'll be learning about string formatting.

Top comments (0)