Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ
+ 1

Please explain modulo division of 1/2

python3%
15th Mar 2020, 12:22 PM
Saurabh Sen
Saurabh Sen - avatar
6 ответов
+ 1
There are many previous questions addressing this https://www.sololearn.com/Discuss/1934725/?ref=app https://www.sololearn.com/Discuss/2196334/?ref=app https://www.sololearn.com/Discuss/1862807/?ref=app https://www.sololearn.com/Discuss/1966186/?ref=app https://www.sololearn.com/Discuss/1964809/?ref=app
15th Mar 2020, 1:51 PM
Ore
Ore - avatar
+ 2
~ swim ~ i didn't get the point 😔
15th Mar 2020, 12:41 PM
Saurabh Sen
Saurabh Sen - avatar
+ 2
1/2 is not a modulo division in python. 1%2 is.
15th Mar 2020, 1:34 PM
Sonic
Sonic - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Advertising in Sololearn
1 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes