We have 49 books and 12 students , write a program to calculate and output how many books will be left if everyone takes 3 books | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

We have 49 books and 12 students , write a program to calculate and output how many books will be left if everyone takes 3 books

23rd Dec 2021, 12:23 PM
حمزة عبد الباقي
حمزة عبد الباقي - avatar
4 Answers
+ 1
Dude, it is one line code to write, at least show us what have you done to solve it
23rd Dec 2021, 12:27 PM
Michal Doruch
+ 1
print(49-(12*3))
23rd Dec 2021, 12:29 PM
Artem 🇺🇦
Artem 🇺🇦 - avatar
0
АлКа Релова you are wrong, read the question ones again
24th Dec 2021, 8:02 PM
Michal Doruch
0
АлКа Релова there are only 12 students. Your calculation is wrong, cuz you'll need 16 students to have only 1 book left. Read the question, and think of what you are writing here
24th Dec 2021, 8:24 PM
Michal Doruch