Category Archives: Python

Variable Types in Python

Table of Contents for this Page Common Variable types Python’s built in [crayon-6766d0b169bca261109718-i/] function Naming Conventions for Variables (snake vs camel case) Python supports the basic types of variables that  you would expect from a general purpose language. These are listed below. Number floating point  integer String (more here) Boolean List (more on lists here) Dictionary Tuple Example … Continue reading Variable Types in Python →

Python Substrings- Multiple Letters

In our prior lesson on Python strings , we indicate looked at how to create a string and how to reference individual characters in string. Now, we’ll look at how to excerpt multiple characters from a string.  If you want to Python to talk about multiple letters, Python needs to know where to begin and where … Continue reading Python Substrings- Multiple Letters →

Strings in Python . Beginner’s Guide and Sample Code

Most programming languages have certain types of variables including boolean variables (true or false), numeric variables (integers and/or decimal points). One of the other common types of variables are strings. A string  begins and ends with a quotation mark.  A string in is just  stuff inside quotes. The sample code below creates 3 different string variables  ([crayon-6766d0b16a8b2173943155-i/] , [crayon-6766d0b16a8b7730628797-i/] , and [crayon-6766d0b16a8b8734550749-i/] ) …...