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
@ -31,18 +31,34 @@ question:
|
||||
```py
|
||||
import csv
|
||||
|
||||
with open(___, 'r') as fp:
|
||||
reader = csv.reader(fp, delimiter=___)
|
||||
with open(__A__, 'r') as fp:
|
||||
reader = csv.reader(fp, delimiter=__B__)
|
||||
next(reader)
|
||||
for index, values in enumerate(reader):
|
||||
name, certs_num, months_num = values
|
||||
print(f"{name} earned {___} certificates in {months_num} months")
|
||||
print(f"{name} earned {__C__} certificates in {months_num} months")
|
||||
```
|
||||
|
||||
answers:
|
||||
- <code>'certificates.csv', '-', values</code>
|
||||
- <code>'certificates.csv', '$', certs_num</code>
|
||||
- <code>'certificates', '$', certs_num</code>
|
||||
- |
|
||||
A: `'certificates.csv'`
|
||||
|
||||
B: `'-'`
|
||||
|
||||
C: `values`
|
||||
- |
|
||||
A: `'certificates.csv'`
|
||||
|
||||
B: `'$'`
|
||||
|
||||
C: `certs_num`
|
||||
- |
|
||||
|
||||
A: `'certificates'`
|
||||
|
||||
B: `'$'`
|
||||
|
||||
C: `certs_num`
|
||||
solution: 2
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user