Welcome to the PyBites Newbie Bites

Login to code Are you an absolute beginner to Python? The best way to learn the basics is by coding on day one! Learn the essential Python building blocks through the Newbie Bites below. This is a paid product, you can buy the bundle here. They are also included in our PyBites Introductory Bites Course. Struggling with these and fundamental Python concepts? Check out our Pybites Developer Init (PDI) Coaching Program.


Bite Tags More info /
forum

Newbie Bite 01. Assigning Objects

Welcome to our Newbie Bites, it's time to learn the basics of Python! If you are new to our platform …

3.10 freebie newbie

variables

        0

Newbie Bite 02. Basic Data Types

If you really think about it, there are multiple different types of data that you can play with when coding. …

3.10 data types freebie

newbie

        0

Newbie Bite 03. Basic Printing

Before we dive too far into these objects, let's quickly look at how we print to the screen. Almost every …

3.10 freebie newbie

print

        0

Newbie Bite 04. Printing Objects

Excellent! We know things! Now that we have data assigned to objects and we know how to print, let's print …

3.10 newbie print

        0

Newbie Bite 05. Basic Maths

We're able to print integers. Now what? Yep, it's time for some maths! Wooo!

3.10 math newbie

        0

Newbie Bite 06. Additional Maths

Let's quickly cover off the rest of the math operators. We've had a look at addition so next we need …

3.10 math newbie

        0

Newbie Bite 07. User Input

Quite often as you make scripts and applications you're going to need to grab user input. One of the ways …

3.10 input newbie

        0

Newbie Bite 08. String Manipulation

There are times you'll need to manipulate the strings you've assigned to a variable. Case in point, when you're dealing …

3.10 newbie string manipulation

        0

Newbie Bite 09. Lists

Next up on our Python journey we're going to dive into what a list is in Python.

3.10 list newbie

        0

Newbie Bite 10. Returning items by list index

Lists are pretty awesome (both in Python and in real life, am I right?). They're also pretty fun to work …

3.10 list newbie

        0

Newbie Bite 11. Adding and Removing items from a list

Now that we have our list, what if we decide we want to change it after it's been defined/created?

3.10 list newbie

        0

Newbie Bite 12. Dicts

It's time to dive into the next data structure in Python: the Dictionary!

3.10 dict list

newbie

        0

Newbie Bite 13. Dict data retrieval methods

Excellent! We know what a dict is and what it looks like! Now let's access the data stored inside?

3.10 newbie

        0

Newbie Bite 14. Functions

Here we go, the big one. Functions! This is where things really start to get fun!

3.10 functions newbie

        0

Newbie Bite 15. Functions part II

Functions can be kind of tricky to start off with so let's do a bit of practice.

3.10 functions newbie

        0

Newbie Bite 16. Equals Operator

In this quick bite we'll teach out about the equals operator.

3.10 equality newbie

        0

Newbie Bite 17. If / else

It's time to look at the amazing if statement! It's one of the most valuable bits of code in your …

3.10 if/else newbie

        0

Newbie Bite 18. Truthiness

One of the things we often need to check when we code is whether a condition is True or False. …

3.10 newbie truthiness

        0

Newbie Bite 19. Less than and greater than

We'll now take a look at usage of the "less than" < and "greater than" > operators.

3.10 comparison newbie

        0

Newbie Bite 20. While loop

The next challenge is to learn all about the while loop. Let's dive right in.

3.10 newbie while

        0

Newbie Bite 21. Comments

Time to look at one of the more useful aspects of programming: Comments!

3.10 comments newbie

        0

Newbie Bite 22. For loops

It's time to move on to a slightly more complex but brilliant loop: the for loop!

3.10 looping newbie

        0

Newbie Bite 23. Looping through a dict

While we've explained how for loops work, it's worth diving into how we use them with dictionaries.

3.10 dict newbie

        0

Newbie Bite 24. Tuples

One data type we've yet to cover is the tuple. It's a special one so here we go.

3.10 newbie tuples

        0

Newbie Bite 25. Calling a function

The last Bite! Let's actually use what we've created by learning how to actually call a function.

3.10 functions newbie

        0