The other day I found a website for learning Python online on Twitter, Replit. The website not only has accompanying text and videos, but also an online running environment, claiming to only take 10 minutes a day. Today I tried it out, no need to configure the environment, indeed much more convenient.
Course link: Learn Python in 100 Days
Learning notes:
- The function of print is to print, and the content to be printed needs to be enclosed in quotes. You can use single quotes, double quotes, and triple quotes: ', ", """, generally single or double quotes are enough for outputting strings. Triple quotes are only needed when you need to output as is.
- print can not only print strings, but also emojis, similarly, emojis also need to be enclosed in quotes. So, does that mean emojis are also strings?
- When a red curve appears in the coding window, it means there is an issue. You need to troubleshoot based on the pop-up error message.