string %s with% python code example
Example 1: how to create string in python
string = "this is string"
#or
string = 'this is also string'
Example 2: how to create a string in python
var1 = "A String"
string = "this is string"
#or
string = 'this is also string'
var1 = "A String"