python defining string code example
Example 1: how to create string in python
string = "this is string"
#or
string = 'this is also string'
Example 2: how to write string in python
#name of the variable = "string"
name = "john"
string = "this is string"
#or
string = 'this is also string'
#name of the variable = "string"
name = "john"