#python
Study materials by tag "python" from expert practitioners. Current articles and useful tips for development.
Articles with tag "#python"
All materials on the topic python
Lists in Python: A Collection of Data ๐ฆ
Imagine you have a spaceport and need to store the names of all the planets for a flight. You could...
if-else in Python: Making Your Program Smarter ๐ค
Conditionals let a program make decisions! Different actions depending on the situation.
Lists and Dictionaries in Python: Working with Data ๐ฆ
So far: one variable = one value.
Loops in Python: while and for ๐
Imagine: you need to print numbers from 1 to 1000. Write 1000 print() calls? ๐ฑ
The while Loop: Repeat While a Condition Holds ๐
The for loop works great when you know how many times to repeat an action. But what if you don't?
Controlling Time and Randomness in Python โฑ๏ธ๐ฒ
Sometimes code runs too fast (all the text dumps on screen in a fraction of a second), or you need...
Math Operations in Python ๐งฎ
Python is a great calculator! Let's cover all the arithmetic operators with examples.
Mixing Text with Numbers (and the Magic of f-strings) ๐ช
In programming, we often need to display text alongside numbers or variables. Imagine you're building a game and need to...
Python Data Types: A Complete Guide ๐ฏ
Python can work with different types of data: numbers, text, boolean values. Let's cover all the fundamental types!
Logical Operators in Python: and, or, not ๐
One condition is fine. But what if you need to check multiple conditions at once?
Python Variables in Plain English ๐ฆ
A variable is like a labeled box where you can put any value and use it as many times as...
Functions in Python: Writing Reusable Code ๐ง
Imagine: you wrote code to calculate a discount. That code is needed in 10 places in your program!
Similar tags
Study related topics
Looking for more on the topic?
Study all our materials or subscribe to updates