Home  >  Article  >  Backend Development  >  days of code

days of code

Barbara Streisand
Barbara StreisandOriginal
2024-10-14 08:10:03877browse

days of code

*100 Days of Python: My Journey
*

Over the past 10 days, I’ve explored key Python concepts, gaining a strong foundation in the language. Here's a quick recap:

Day 1: Set up Python and learned the basics—variables, data types, and printing outputs.

Day 2: Focused on strings, working with slicing, concatenation, and string formatting.

Day 3: Mastered numbers and operations like modulus, exponentiation, and floor division.

Day 4: Explored lists, learning to add, remove, slice, and sort items.

Day 5: Worked with tuples, understanding their immutability and how to access and unpack data.

Day 6: Learned about sets, their unique elements, and performed set operations like union and intersection.

Day 7: Delved into dictionaries, using key-value pairs for data storage and manipulation.

Day 8: Used conditional statements (if, elif, else) to control the flow of programs.

Day 9: Practiced loops (for and while), iterating over different data structures to automate tasks.

Day 10: Put everything together by solving exercises combining strings, lists, loops, and dictionaries.

This journey has been a great start, and I’m excited to continue learning and applying Python to real world projects

The above is the detailed content of days of code. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn