migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
10
python-csi160/week02/Week-2Practice-Problems/part1.py
Normal file
10
python-csi160/week02/Week-2Practice-Problems/part1.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
# This program reads two numbers and prints their sum:
|
||||
a = int(input('Enter first number: '))
|
||||
b = int(input('Enter second number: '))
|
||||
c = int(input('Enter third number: '))
|
||||
|
||||
print(a + b + c)
|
||||
|
||||
# Can you change it so it can read and sum three numbers?
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue