Monday, 2 October 2023, 4:26 AM
Site: ΕΛ/ΛΑΚ Moodle
Course: Python Lab - May 2017 (python_ellak_may_2017)
Glossary: Glossary of terms


a person or thing that watches or stands as if watching


Strings are among the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as simple as assigning a value to a variable.

Example : "This is a string"

               'This is also a string'


The result of adding two or more numbers.

Example: 9 is the sum of 2, 4 and 3 
(because 2 + 4 + 3 = 9).