+ 1
help me i am unable to understand, plz explain in simple language
// or % or some other new types of operation, i have never done these. help me
3 Answers
+ 2
// Means floor division
% modular division
// for quotiant
% for reminder
for example
if you want to know the reminder of 5/2
you know it's 1
but though python u can get the reminder
by 5%2 will give 1
similarly floor division is to know the quotiant alone
5//2
this returns 2
since 5 has 2 twos in it this is floor division
0
@sundar thanks, that was a vry good reply. i understand easily through it. do u use WhatsApp or something?
0
Sorry Akash sharing contact details might violate the policy of this forum you may ask query in the group I will be actively answering and moreover there are many master brains here would be available to help u out
:-)