Subscribe
Tutorial search

Python from Scratch: Variables, Data Types and Control Structur - Python tutorial


Welcome back to Python from Scratch, where wefre learning Pythoncfrom scratch! In the last lesson, we installed Python and got set up. Today, wefre going to cover quite a bit, as we learn the essentials. Wefll review variables, operators, and then finish up by learning about control structures to manage the flow of your data.
Category: Python > Basics - Difficulty:


More cool Python tutorials:



Python from Scratch: Getting Started
Python from Scratch: Getting Started
In this first lesson, we’re going to choose a version, install Python, and then create the obligatory “Hello world” script. If you’re already familiar with Python, feel free to skip ahead to a later lesson in the series.
Difficulty:
Lists Part 2
Lists Part 2
We begin with a list named ‘greek_letters’, with the first five Greek letters. We tell the terminal to print the third value with the command ‘greek_letters[2]’, which accesses the third value in the list...
Difficulty:
Pygame in 10 Easy Steps
Pygame in 10 Easy Steps
This is a line-by-line tutorial that will guide you through the basics of creating a simple game using the popular Pygame library. If you know Python and want to learn how to make games, start here!
Difficulty:
Lists Part 1
Lists Part 1
Learn about the list value. Ordinary variables hold one value. The list variable can hold multiple values.
Difficulty:
Intro to PYX
Intro to PYX
XML is a fairly simple format. It uses plain Unicode text rather than binary encoding, and all the structures are declared with predictable-looking tags. Nonetheless, there are still enough rules in the XML grammar that a carefully debugged parser is needed to process XML documents -- and every parser imposes its own particular programming style. An alternative is to make XML even simpler. The open-source PYX format is a purely line-oriented format for representing XML documents that allows for much easier processing of XML document contents with common text tools like grep, sed, awk, wc, and the usual UNIX collection.
Difficulty: