Variables

float / double Python’s built-in float type has double precision (it’s the same as a double in C)

Read More

.Using Strings-Basics

Strings can use single or double quotes Join strings Multiline strings using triple quotes Use triple single quotes or double quotes to start and end a multiline string. Line breaks will occur for the linebreaks in the string you enter. Joining strings Use the period character ‘+’ You can also use += Length

Read More

.Comments

Comment out multiple lines There is no block commenting in Python (an equivalent for /* */ in C).  In VSCode, select the lines and use ‘CTRL’+’/’ to comment and uncomment the block Comment blocks using triple quotes Not officially comments according to Python spec, but often used as a handy way to create multiline comments:

Read More