Initial directory structure
parent
2de47596fb
commit
329755e59e
|
@ -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 @@
|
|||
# 2024FACSE160Lectures
|
||||
# 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.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4
|
||||
data2 = 11
|
||||
|
||||
result = data1 + data2
|
||||
|
||||
print(f"The sum is {result}")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4
|
||||
data2 = 11
|
||||
|
||||
result = data1 + data2
|
||||
|
||||
print(f"The sum is {result}")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4
|
||||
data2 = 11
|
||||
|
||||
result = data1 + data2
|
||||
|
||||
print(f"The sum is {result}")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4
|
||||
data2 = 11
|
||||
|
||||
result = data1 + data2
|
||||
|
||||
print(f"The sum is {result}")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4.
|
||||
data2 = 100000000000000000000000000
|
||||
|
||||
result = data1 / data2
|
||||
|
||||
print(f"The quotient is {result}")
|
||||
|
|
@ -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}")
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
data1 = 4.
|
||||
data2 = 11
|
||||
|
||||
result = data1 - data2
|
||||
|
||||
print(f"The difference is {result}")
|
||||
|
Loading…
Reference in New Issue