15Aug, 2022

What is wrong with my Python code?

There can be several things that we can get wrong when coding in Python which can be very frustrating! Here…

Learn More
23May, 2022

What are comments in Python?

When programming, comments are usually written into code to make it easier for humans to read and easier for people…

Learn More
23May, 2022

What are mathematical operators in Python?

In programming, there is often a need to perform calculations, and one of the reasons that computers were created is…

Learn More
23May, 2022

What is a variable in Python?

A variable is a storage location for data. Say a user entered their name into our program. We would want…

Learn More
23May, 2022

What is concatenation in Python?

Though a complicated word, concatenation is actually really simple. It simply means joining things together and in Python we can…

Learn More
23May, 2022

What does % do in Python?

In Python % is the modulo operator and can be used for calculating the remainder of an equation. For example:…

Learn More
15May, 2022

How do I display a message on the console in Python?

To display a message onto the console screen in Python you should use the print statement. For example: The print…

Learn More
08May, 2022

How do I get an input in Python?

To get a user to input something (type it in) Python uses the input statement. What the user inputs is…

Learn More
06May, 2022

How do I count the length of a string in Python?

Python has a specific function to find the length of strings called len(). Another way to count the length of…

Learn More
06May, 2022

How do I get the first letter of a string in Python?

In Python, strings are stored as arrays so if you want the first letter of a string in Python you…

Learn More
  • 1
  • 2