新增自学模块

This commit is contained in:
2024-10-13 18:06:42 +08:00
parent e7ac3cf94b
commit d082310e2d
15 changed files with 885 additions and 72 deletions

40
src/learn/01/index.md Normal file
View File

@@ -0,0 +1,40 @@
## 第一: print 后面跟着英文括号,不要写等号!!!
### 下面是错误的:
```py
print=("China")
```
## 第二: 所有的符号都是英文的
### 下面是错误的:
```py
print"China"
print(“China”)
```
## 第三:下面的写法是等价的
### 第一种:
```py
a="China"
print(a)
```
### 第二种:
```py
print("China")
```
## 第四输出有几行就需要几个print()
### 输出三行你好:
```py
print("你好")
print("你好")
print("你好")
```