HOW TO PREDICT OUTPUTS PYTHON | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

HOW TO PREDICT OUTPUTS PYTHON

I need help with output in python

31st Aug 2019, 11:19 AM
ACID
ACID - avatar
5 Answers
+ 2
Modulo and qoutient
31st Aug 2019, 11:30 AM
ACID
ACID - avatar
+ 2
Ok sarcasm aside: Example 1 9 // 2 = 4 Because // drops off the fractions and only returns the whole number. Example 2 9 % 2 = 1 Because % only returns the remainder of the division. Hope this helps
31st Aug 2019, 11:39 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
In operations
31st Aug 2019, 11:24 AM
ACID
ACID - avatar
+ 1
Oarabile Malotane Do you mean you don' t understand % and // in python?
31st Aug 2019, 11:34 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Yes a genuis
31st Aug 2019, 11:35 AM
ACID
ACID - avatar