Initial directory structure
This commit is contained in:
parent
2de47596fb
commit
329755e59e
10 changed files with 73 additions and 2 deletions
7
InstructorNotes.md
Normal file
7
InstructorNotes.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# 2024 FA CSE160 Lectures
|
||||||
|
|
||||||
|
Lecture code from the 2024FA cse160 Python lectures.
|
||||||
|
|
||||||
|
Pushing the code:
|
||||||
|
git push -u origin main
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
# 2024 FA CSE160 Lectures
|
# 2024 FA CSE160 Lectures
|
||||||
|
|
||||||
Lecture code from the 2024FA cse160 Python lectures
|
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.
|
||||||
|
|
8
bigos/20240917Lecture/addition01.py
Normal file
8
bigos/20240917Lecture/addition01.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4
|
||||||
|
data2 = 11
|
||||||
|
|
||||||
|
result = data1 + data2
|
||||||
|
|
||||||
|
print(f"The sum is {result}")
|
||||||
|
|
8
bigos/20240917Lecture/addition01types.py
Normal file
8
bigos/20240917Lecture/addition01types.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4
|
||||||
|
data2 = 11
|
||||||
|
|
||||||
|
result = data1 + data2
|
||||||
|
|
||||||
|
print(f"The sum is {result}")
|
||||||
|
|
8
bigos/20240917Lecture/addition02.py
Normal file
8
bigos/20240917Lecture/addition02.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4
|
||||||
|
data2 = 11
|
||||||
|
|
||||||
|
result = data1 + data2
|
||||||
|
|
||||||
|
print(f"The sum is {result}")
|
||||||
|
|
8
bigos/20240917Lecture/addition03.py
Normal file
8
bigos/20240917Lecture/addition03.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4
|
||||||
|
data2 = 11
|
||||||
|
|
||||||
|
result = data1 + data2
|
||||||
|
|
||||||
|
print(f"The sum is {result}")
|
||||||
|
|
8
bigos/20240917Lecture/division01.py
Normal file
8
bigos/20240917Lecture/division01.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4.
|
||||||
|
data2 = 100000000000000000000000000
|
||||||
|
|
||||||
|
result = data1 / data2
|
||||||
|
|
||||||
|
print(f"The quotient is {result}")
|
||||||
|
|
12
bigos/20240917Lecture/inputstatements01.py
Normal file
12
bigos/20240917Lecture/inputstatements01.py
Normal file
|
@ -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}")
|
||||||
|
|
8
bigos/20240917Lecture/subtraction01.py
Normal file
8
bigos/20240917Lecture/subtraction01.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
data1 = 4.
|
||||||
|
data2 = 11
|
||||||
|
|
||||||
|
result = data1 - data2
|
||||||
|
|
||||||
|
print(f"The difference is {result}")
|
||||||
|
|
0
cooper/README.md
Normal file
0
cooper/README.md
Normal file
Loading…
Add table
Add a link
Reference in a new issue