Update page 'Day 2 homework'
@@ -36,7 +36,6 @@ httpd.serve_forever()
|
|||||||
```
|
```
|
||||||
8. Think of a way someone might try to commit a crime or hide an embezzlement scheme using the answers to the above two questions. Hint: applications usually output on web pages, but developers and system administrators usually troubleshoot in the console.
|
8. Think of a way someone might try to commit a crime or hide an embezzlement scheme using the answers to the above two questions. Hint: applications usually output on web pages, but developers and system administrators usually troubleshoot in the console.
|
||||||
9. Think of how you would do input validation to prevent such a crime. Replace the code REPLACE ME here so the tests pass:
|
9. Think of how you would do input validation to prevent such a crime. Replace the code REPLACE ME here so the tests pass:
|
||||||
|
|
||||||
```
|
```
|
||||||
def validate(str):
|
def validate(str):
|
||||||
for char in str:
|
for char in str:
|
||||||
|
|||||||
Reference in New Issue
Block a user