declare string python code example
Example 1: how to create string in python
string = "this is string"
#or
string = 'this is also string'
Example 2: variables in python
x = 5
y = "John"
print(x)
print(y)
Example 3: how to create a string in python
var1 = "A String"