In this tutorial you will learn:
Strings in Python
In the previous tutorial we learned what variables are and how Python deals with variables. In this tutorial we will start by learning the details and usage of String type variable in Python.
- myString = “I am a developer”
- myHelloString = “Hello”
- myWelcomeString = “Welcome”
In Python we can write strings in either three quotes ‘’’Python’’’, two quotes “Developer” or in single quote ‘Code’.
Immutable and Mutable in