From 329755e59ea8fd2c3eb8d4ce3082b4c2a50909ed Mon Sep 17 00:00:00 2001 From: Edward Bigos Date: Tue, 17 Sep 2024 09:20:48 -0400 Subject: [PATCH] Initial directory structure --- InstructorNotes.md | 7 +++++++ README.md | 8 ++++++-- bigos/20240917Lecture/addition01.py | 8 ++++++++ bigos/20240917Lecture/addition01types.py | 8 ++++++++ bigos/20240917Lecture/addition02.py | 8 ++++++++ bigos/20240917Lecture/addition03.py | 8 ++++++++ bigos/20240917Lecture/division01.py | 8 ++++++++ bigos/20240917Lecture/inputstatements01.py | 12 ++++++++++++ bigos/20240917Lecture/subtraction01.py | 8 ++++++++ cooper/README.md | 0 10 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 InstructorNotes.md create mode 100644 bigos/20240917Lecture/addition01.py create mode 100644 bigos/20240917Lecture/addition01types.py create mode 100644 bigos/20240917Lecture/addition02.py create mode 100644 bigos/20240917Lecture/addition03.py create mode 100644 bigos/20240917Lecture/division01.py create mode 100644 bigos/20240917Lecture/inputstatements01.py create mode 100644 bigos/20240917Lecture/subtraction01.py create mode 100644 cooper/README.md diff --git a/InstructorNotes.md b/InstructorNotes.md new file mode 100644 index 0000000..2e89479 --- /dev/null +++ b/InstructorNotes.md @@ -0,0 +1,7 @@ +# 2024 FA CSE160 Lectures + +Lecture code from the 2024FA cse160 Python lectures. + +Pushing the code: +git push -u origin main + diff --git a/README.md b/README.md index 5031737..2a6aae8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ -# 2024FACSE160Lectures +# 2024 FA CSE160 Lectures -Lecture code from the 2024FA cse160 Python lectures \ No newline at end of file +Lecture code from the 2024FA cse160 Python lectures. + +The directory cooper contains the code for CSE-160-D01 on Tuesday with Jeff Cooper. + +The directory bigos contains the code for CSE-160-D02 on Tuesday with Edward Bigos. diff --git a/bigos/20240917Lecture/addition01.py b/bigos/20240917Lecture/addition01.py new file mode 100644 index 0000000..8d9c3ea --- /dev/null +++ b/bigos/20240917Lecture/addition01.py @@ -0,0 +1,8 @@ + +data1 = 4 +data2 = 11 + +result = data1 + data2 + +print(f"The sum is {result}") + diff --git a/bigos/20240917Lecture/addition01types.py b/bigos/20240917Lecture/addition01types.py new file mode 100644 index 0000000..8d9c3ea --- /dev/null +++ b/bigos/20240917Lecture/addition01types.py @@ -0,0 +1,8 @@ + +data1 = 4 +data2 = 11 + +result = data1 + data2 + +print(f"The sum is {result}") + diff --git a/bigos/20240917Lecture/addition02.py b/bigos/20240917Lecture/addition02.py new file mode 100644 index 0000000..8d9c3ea --- /dev/null +++ b/bigos/20240917Lecture/addition02.py @@ -0,0 +1,8 @@ + +data1 = 4 +data2 = 11 + +result = data1 + data2 + +print(f"The sum is {result}") + diff --git a/bigos/20240917Lecture/addition03.py b/bigos/20240917Lecture/addition03.py new file mode 100644 index 0000000..8d9c3ea --- /dev/null +++ b/bigos/20240917Lecture/addition03.py @@ -0,0 +1,8 @@ + +data1 = 4 +data2 = 11 + +result = data1 + data2 + +print(f"The sum is {result}") + diff --git a/bigos/20240917Lecture/division01.py b/bigos/20240917Lecture/division01.py new file mode 100644 index 0000000..7b4675f --- /dev/null +++ b/bigos/20240917Lecture/division01.py @@ -0,0 +1,8 @@ + +data1 = 4. +data2 = 100000000000000000000000000 + +result = data1 / data2 + +print(f"The quotient is {result}") + diff --git a/bigos/20240917Lecture/inputstatements01.py b/bigos/20240917Lecture/inputstatements01.py new file mode 100644 index 0000000..4d44e12 --- /dev/null +++ b/bigos/20240917Lecture/inputstatements01.py @@ -0,0 +1,12 @@ + +data1 = input("Enter a value for data1 ") +data1 = float(data1) +data2 = input("Enter a value for data2 ") +data2 = float(data2) + +result = data1 + data2 + +print("data1 is ",type(data1)) + +print(f"The result is {result}") + diff --git a/bigos/20240917Lecture/subtraction01.py b/bigos/20240917Lecture/subtraction01.py new file mode 100644 index 0000000..67f5cb9 --- /dev/null +++ b/bigos/20240917Lecture/subtraction01.py @@ -0,0 +1,8 @@ + +data1 = 4. +data2 = 11 + +result = data1 - data2 + +print(f"The difference is {result}") + diff --git a/cooper/README.md b/cooper/README.md new file mode 100644 index 0000000..e69de29