how to use an ' in a python string code example
Example 1: python string in string
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False
Example 2: how to create a string in python
var1 = "A String"
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False
var1 = "A String"