This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Part 1: | |
<def throw_me_an_error(): | |
try: | |
val1 = 14 | |
val2 = 0 | |
return val1 / val2 | |
except ZeroDivisionError as e: | |
print(f"Error occurred: {e}") | |
throw_me_an_error()> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section 1: | |
- Query 1: | |
{ | |
"rated": "R", | |
"genres": "Sci-Fi", | |
"cast": "Arnold Schwarzenegger", | |
"awards.wins": { "$gt": 0 }, | |
"fullplot": { "$regex": "hunt", "$options": "i" }, | |
"imdb.rating": { "$gt": 6 }, | |
"metacritic": { "$lt": 40 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE tracking ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT, | |
file VARCHAR(50) NULL, | |
owner VARCHAR(30) NULL, | |
updated DATE NULL, | |
step INT NULL, | |
source VARCHAR(30) NULL | |
); | |
PRAGMA table_info(tracking); |