Creation and use of strings in Python

To create a string you simply need to put the text inside quoting marks (“”), because that’s just how Python works. Also you can put inside variables so it’s easier to print them whenever you want to instead of writing all the text all over again I think. Yeah, anyway here’s an example:

Creation and use of strings in Python

Because Machamp has 4 arms.

Creation and use of strings in Python

CC BY 4.0 Creation and use of strings in Python by tywins is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.