Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
- 1

can you explain the floor division and modulo operator

pythoninputoutput
25th Mar 2020, 9:27 AM
Henry Punnoose
Henry Punnoose - avatar
2 odpowiedzi
+ 3
Floor division devides the numbers and discard the fractional part of the result. For example:- 5//2 = 2 Whereas modulo operator devides the number and returns remainder. For example:- 5%2 = 1
25th Mar 2020, 9:32 AM
Arsenic
Arsenic - avatar
+ 2
Already answered use search bar https://www.sololearn.com/Discuss/2200400/?ref=app https://www.sololearn.com/Discuss/1950985/?ref=app https://www.sololearn.com/Discuss/1826329/?ref=app https://www.sololearn.com/Discuss/1788913/?ref=app
25th Mar 2020, 9:33 AM
Muhammad Bilal
Muhammad Bilal - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Best language?
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Bug sur le deuxième cours de python
1 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes