---
# System prepended metadata

title: 'Last weeks summary on set, list, tuple and dictionarys'

---

python has become one of the most widely used programming languages across the world — thanks to its simple syntax, rich library support and beginner-friendly learning curve. Over the past week, a focused learner of Python is expected to have built a strong foundation in the basics of the language. This recap article looks back at the most essential areas typically covered within that period.

. Understanding Basic Syntax and Variables

Learning starts with understanding how Python works — writing simple programs using the built-in print() function and working with variables. At this stage, learners become familiar with primary data types:

- Integers (int) for whole numbers
- Floats for decimal numbers
- Strings (str) for text
- Booleans (bool) for True/False logic

Variables act as containers that store data. With simple assignments like name = "Alice" or age = 20, We've learnt how to store and manipulate information throughout their code.
2. Data Structures: Lists, Tuples, Strings, and Dictionaries

Python provides powerful built-in data structures:

Lists ([ ]) are ordered and changeable — used to group items.
Tuples (( )) resemble lists but are immutable (unchangeable).
Strings are sequences of characters.
Dictionaries ({ }) store data as key/value pairs, ideal for representing structured records.
Understanding how to index, slice, update, and retrieve values from these containers is key to handling real-life datasets in Python.
3. Operators and Expressions

Mathematical and logical operations form the core of decision-making. During the week, learners worked with:

- Arithmetic operators like +, -, *, /, //, %

- Relational operators such as ==, !=, <, >, <=, >=
- Logical operators (and, or, not)
    These enable the creation of expressions that evaluate to either True or False.
    
    
    Conclusion

Within just one week, a dedicated Python learner transitions from writing single-line programs to handling real-world scenarios using lists, dictionaries, loops, and conditionals. Mastering these building blocks not only boosts problem-solving skills. All thanks to Blockfuse