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