summaryrefslogtreecommitdiff
path: root/python/atms-310/homework/homework1.py
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
commit7b21727285e50b0b050c4ddd70d07542229c5366 (patch)
tree5d369153c5df5b41f3750d25479a68f20169c8ff /python/atms-310/homework/homework1.py
init
Diffstat (limited to 'python/atms-310/homework/homework1.py')
-rwxr-xr-xpython/atms-310/homework/homework1.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/python/atms-310/homework/homework1.py b/python/atms-310/homework/homework1.py
new file mode 100755
index 0000000..82d7d9e
--- /dev/null
+++ b/python/atms-310/homework/homework1.py
@@ -0,0 +1,22 @@
+a = 3.0 <= 3.1
+b = 22 + 11.0
+c = 11 + int(13)
+d = 4 != 4
+e = (3 <= 5) or (5<=4)
+f = (3 <= 5) and (5 <= 4)
+
+print(a)
+print(b)
+print(c)
+print(d)
+print(e)
+print(f)
+
+c = {'building number': '7725',
+ 'street name': '188th Ave NE',
+ 'city': 'Redmond',
+ 'state': 'Washington',
+ 'zip code' : 98052}
+
+print('redmond costco is located at:')
+print(c['building number'], c['street name'], c['city'],',', c['state'],',', c['zip code']) \ No newline at end of file