Python Text String: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
No edit summary
m (Text replacement - "---- == Refe" to "---- == Refe")
Line 3: Line 3:
----
----
----
----
== References ==
== References ==



Revision as of 18:35, 22 December 2020

A Python Text String is a text string in a Python data structure.



References

2018

my_string = 'Hello'
print(my_string) 
my_string = "Hello" print(my_string)
my_string = Hello print(my_string)
# triple quotes string can extend multiple lines my_string = """Hello, welcome to the world of Python""" print(my_string)