My 100 Days of Python Practice: Day 9/100

#Iris Flower Mathematics Series

My 100 Days of Python Practice: Day 9/100

This is a record of a challenge to practice Python continuously for 100 days.

Out of respect for “setting a flag”, I will try to keep this record going, which is also a way to force output to encourage input; previously, from day one to day eight, the results were good. During the learning process, I felt free from the control of mobile push algorithms, truly doing what I wanted to do, which is a valuable freedom.So let’s get started, continuing from yesterday’s content, the sixth chapter of the Iris Flower book “Programming is Not Difficult” — Python Operators

[6.7 Identity Operators][Code 6.9 Identity Operation]

My 100 Days of Python Practice: Day 9/100

[6.8 Priority]

This is omitted, it’s not difficult to understand; the author suggests that everyone should avoid practicing off-topic or strange questions, and it’s fine to search for them when encountered in real life.

[6.9 Python’s Math Library]Here is a simple reference of commonly used code from the library organized by the book, used as a dictionaryMy 100 Days of Python Practice: Day 9/100🌟[Code 6.10] This problem is very interesting, it’s about plotting with matplotlib, I drew my first sine curve in life!My 100 Days of Python Practice: Day 9/100⬇️ For the code and explanation, see the link below:

“Please explain my practice code, especially pay attention to the comments…” Click to view Yuanbao’s response

https://yuanbao.tencent.com/bot/app/share/chat/6I4KsbFNXH1a

⬇️ As a side note, this is also part of my practice on the road, I have already developed the skill to code while standing… (not recommended, it’s tiring, slow, and bad for the eyes… but at that time, I really wanted to code!)My 100 Days of Python Practice: Day 9/100➡️ Then I really liked the code explanation provided by Yuanbao AI:My 100 Days of Python Practice: Day 9/100➡️ I then described it again in my own words, which might have been too vivid, haha, AI also provided a lot of emotional value, haha, learning programming can also be a very happy thing!My 100 Days of Python Practice: Day 9/100My 100 Days of Python Practice: Day 9/100🌟[Trying Web Scraping]While chatting with AI, I found that I could also use Python to scrape data within legal limits, so I immediately asked AI to help generate a piece of code to scrape Douban’s top 250 movies⬇️:My 100 Days of Python Practice: Day 9/100It generated the result immediately, without any errors⬇️My 100 Days of Python Practice: Day 9/100It felt shocking…I never expected that after so many years of studying information technology, I would truly feel the impact of information technology for the first time. I thought I would have to write these tables myself, but I didn’t expect that it could be automated through web scraping many years ago…It felt like a primitive person stepping into modern society…Therefore, I am even more looking forward to future Python learning!Additionally, while listening to a podcast today, I was also thinking, now that AI programming is so popular, why should we still learn Python from scratch?My current understanding is, for example, although there are many modes of transportation now, learning the evolution from walking to modern transportation is still meaningful. I currently need this in-depth understanding and do not want to stay at a superficial level. This is similar to why, even though there are many translation software, we still need to learn English; I need to have my own understanding of a language and a technology.I shared my thoughts with three AIs, Doubao, Yuanbao, and Zhipu Qingyan, among which I found Doubao’s response to be the most comprehensive. It not only affirmed my thoughts but also summarized my core questions without me explicitly asking:⬇️My 100 Days of Python Practice: Day 9/100My 100 Days of Python Practice: Day 9/100What a coincidence, I have been studying artificial intelligence recently, and rewards and punishments are very important. I immediately gave Doubao a thumbs up and a good review:⬇️My 100 Days of Python Practice: Day 9/100Then I also prepared for class, and today I unknowingly spent two hours solving problems, so let’s stop here!Tomorrow we continue! Learning the random library and statistic library, using Python for statistics!

Written on September 23, 2025, 22:37:50.

#Iris Flower Mathematics Series

#Programming Journal

Leave a Comment