menu search
brightness_auto
more_vert
2 1

Differentiate between modulus and floor division.

Topic Python (Programming)
Type Short Answer Type
Class 9

thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
1
Modulus       Floor Division
  • It shows remainder value.
  • It shows quotient value.
  • Its symbol is %.
  • Its symbol is //.
  • Example - 7%2 = 1
  • Example - 7//2 =3

Study more about python at Python Class 10

thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike

Related questions

thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
0 answers
thumb_up_off_alt 3 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
...