From 259ebe9c0e02dafe0cd9a216e70869068b5a3fc1 Mon Sep 17 00:00:00 2001 From: Alan Nguyen Date: Sat, 3 Feb 2024 17:22:40 -0500 Subject: [PATCH] New model --- lib/a_name_error.py | 1 + lib/a_syntax_error.py | 2 +- lib/a_type_error.py | 2 +- lib/an_assertion_error.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/a_name_error.py b/lib/a_name_error.py index 841d7921b..eb5592a03 100644 --- a/lib/a_name_error.py +++ b/lib/a_name_error.py @@ -1,3 +1,4 @@ #!/usr/bin/env python3 +hello_world = "George" print(hello_world) diff --git a/lib/a_syntax_error.py b/lib/a_syntax_error.py index 0ba09ba5b..89488eb1a 100644 --- a/lib/a_syntax_error.py +++ b/lib/a_syntax_error.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -poor_syntax = 2 * # +poor_syntax = 2 * 2 diff --git a/lib/a_type_error.py b/lib/a_type_error.py index db7a7f238..7f7217844 100644 --- a/lib/a_type_error.py +++ b/lib/a_type_error.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -wrong_type = 'abc' + 123 +wrong_type = 'abc' + '123' diff --git a/lib/an_assertion_error.py b/lib/an_assertion_error.py index 3f12d9bf4..90b764d39 100644 --- a/lib/an_assertion_error.py +++ b/lib/an_assertion_error.py @@ -1,3 +1,3 @@ #!/usr/bin/env python3 -assert(1 == 2) +assert(1 == 1)