migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
7
python-csi160/week02/Week-2Practice-Problems/part5.py
Normal file
7
python-csi160/week02/Week-2Practice-Problems/part5.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Read the numbers like this:
|
||||
num_students = int(input("Number of students: "))
|
||||
num_apples = int(input("Number of apples: "))
|
||||
|
||||
# Print the result with print()
|
||||
print(num_apples // num_students)
|
||||
print(num_apples % num_students)
|
Loading…
Add table
Add a link
Reference in a new issue