Tag Archives: index

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-6741a17eb0c37763799812-i/] , [crayon-6741a17eb0c3b905092852-i/] , and [crayon-6741a17eb0c3c006934330-i/] ) …...

Python List – Beginner’s Guide and Sample Code

Pretty much every programming language has a way to group a whole bunch of items together into a single group, or as Python calls them list. Other languages have similar things called arrays, but they, for the most part, generally work the same whether you’re learning Java , Python, C or some other language. The give away, in most … Continue reading Python List – Beginner’s Guide and Sample Code →