+ 2

# 5.2 practice (textbooks) help

Can somebody please tell me how to do the 5.2 core python textbook practice. I’ve tried to YouTube it and look it up on google but I couldn’t find it anywhere. I just need help solving it, please.

11 ответов

+ 3

There will be needed only one output, that means one print statement.

+ 3

# I think as you written the remainder should be work
print(76%((18+19)*2))

+ 2

Your welcome,
happy coding.

+ 1

Please show your attempt first and ask your question.
Gor answer You do not need google or youtube only that what you here learn.

+ 1

Ok

+ 1

What is the question 5.2?

+ 1

Ok…

+ 1

It worked. Thank you so much!

0

print((18+19)*2)
print(76%74)

0

We need to distribute math and history textbooks to students.
There are 2 class sections: the first section has 18 pupils, and the second one has 19. The total number of books available for distribution is 76.
Write a program to calculate and output how many books will be left after each student receives both books.

0

I just dont understand the percentage sign. I dont know where to put it and I dont know what numbers need to go with it.