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:
committed by
GitHub
parent
10b0c9ed94
commit
f967b279a7
@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user