Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some spelling errors #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions D1_of_3Day_DoneWithPython.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ print(w.strip('http://')) #delete sth
|Tuple| tuple| b = (1,2.5, 'data')|
|List|list|c = [1,2.5,'data']|
|Dictionary|dict|d = {'Name': 'Kobe', 'Country':'US'}|
|Set|set|e = set(['u','d','ud','d','du'])|
|Set|set|e = set(['u','d','ud','du'])|

* 元组(tuple)只有几种方法可以更改。
* 列表(list)比元组更灵活。
Expand Down Expand Up @@ -537,7 +537,7 @@ for i in range(300, 351):
print (i)
break
else :
cantinue
continue
```
```python
```
Expand Down Expand Up @@ -600,12 +600,12 @@ print(c)
```python
def MaxOfTwo(xl, x2 = 1): ...
```
* Please do put your default arguments at the end of your funaion arguments.
* Please do put your default arguments at the end of your function arguments.

```python
```
## Functions with two outputs
* A funaion can also return two or more outputs. In that case you should write you code in the following:
* A function can also return two or more outputs. In that case you should write you code in the following:
```python
def  f (x1, x2,  x3, ...):
......
Expand Down