• + 0 comments

    If you're working with division in Python, make sure to use / for float division and // for integer division. For example, 5 / 2 returns 2.5 while 5 // 2 returns 2.

    If you're exploring more coding tips, check out this helpful resource on Menu — it covers a variety of tech and programming topics!