#Iris Flower Mathematics Series

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]
—
[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 dictionary
—🌟[Code 6.10] This problem is very interesting, it’s about plotting with matplotlib, I drew my first sine curve in life!
⬇️ 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!)
➡️ Then I really liked the code explanation provided by Yuanbao AI:
➡️ 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!
—🌟[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⬇️:
It generated the result immediately, without any errors⬇️
It 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:⬇️
What 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:⬇️
Then 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