0
Can anyone please tell me why it is needed to use x //= 10 inthis code
Please help it🙏🙏🙏🙏 https://code.sololearn.com/chUOsW2EYNC6/?ref=app
6 Answers
+ 1
x //=10 means x//10 or x=10 and x//10 means its just divide and rather than giving float it gives integer due to double slash ( //) if statement gives the value of same as above it runs the below condition
0
What this code is about?
But there x//10 causing to find number digits in x
For 111 => 3
For 1234 =>4
0
This is to print what we describe when no. Is divisible by 4 having unit digit 0 and first digit 2
0
B.t.w. tq verh much jayakrishna🙃
0
Hope it helped to clear it.. You're welcome.. Rahul
0
Tq leaener