Update page 'Day 2 homework'

j
2023-03-30 07:20:54 +02:00
parent 1a07524afc
commit 2cb676b3e3
-1
@@ -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: