ChamplainTechJournals/python-csi160/week02/Week-2Practice-Problems/part5.py
2025-04-19 23:42:08 -04:00

7 lines
226 B
Python

# 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)