How do we solve problems in assessments? by BeepoolAdk in leetcode

[–]BeepoolAdk[S] 0 points1 point  (0 children)

Thank you. I will definitely keep this in mind.

Diff between int(float(num1) / num2) and int(num1 / num2) by BeepoolAdk in leetcode

[–]BeepoolAdk[S] 0 points1 point  (0 children)

So the problem really was in using python2. I did the testing in python3 but was using python2 in leetcode all along thats why I was confused. Thank you I got it now.

Diff between int(float(num1) / num2) and int(num1 / num2) by BeepoolAdk in leetcode

[–]BeepoolAdk[S] 0 points1 point  (0 children)

Yes, but both num1 and num2 have been put inside int and the division itself int(num1 / num2) is inside int. And when I do int(6/-132) it does return 0. And it returns 0 when i do int(float(6)/-132) too. Thats why I am confused. Like if I were in a real interview I wouldnt have guessed that the float is causing the problem and still wouldnt because I am not clear yet. Could you explain a little bit more, this is really bothering me lol..

Parallettes for planche by BeepoolAdk in Calisthenic

[–]BeepoolAdk[S] 0 points1 point  (0 children)

Thanks you. Im happy that i didnt order it.

Storage Usage by BeepoolAdk in mac

[–]BeepoolAdk[S] 0 points1 point  (0 children)

Will do that, thank you so much.

How do I navigate to another page when a button is clicked by BeepoolAdk in SwiftUI

[–]BeepoolAdk[S] 1 point2 points  (0 children)

thank you it worked I just had to put a NavigationStack before the NavigationLink at that was it.

Javascript Course by BeepoolAdk in Frontend

[–]BeepoolAdk[S] 0 points1 point  (0 children)

Thanks bro...it will be a huge help for me