Browse the glossary using this index

Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL

S

sentinel

a person or thing that watches or stands as if watching


string

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'


sum

The result of adding two or more numbers.

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