fix(curriculum): standardize fill-in-the-blank format and typos (#39011)

This PR changes the format of earlier fill-in-the-blank questions/answers to the one used in later questions. It also fixes a few typos.
This commit is contained in:
Kristofer Koishigawa
2020-06-06 18:51:34 +09:00
committed by GitHub
parent 10b0c9ed94
commit f967b279a7
6 changed files with 35 additions and 14 deletions

View File

@ -21,17 +21,23 @@ question:
```py
def banner(ip, port):
s = socket.socket()
s.____((ip, ____))
s.__A__((ip, __B__))
print(s.recv(1024))
```
answers:
- |
`connect`, `port`
A: `connect`
B: `port`
- |
`getsockname`, `'1-1024'`
A: `getsockname`
B: `'1-1024'`
- |
`connect`, `int(port)`
A: `connect`
B: `int(port)`
solution: 3
```