Difference between library, module and package in Python







  • What is the difference between library, module and package in Python

    In python, / is used for division and ALWAYS results in a floating-point value.
    // is used for floor division. Floor Division always returns an integer by truncating the decimal part.
    For example - 5/2 will give 2.5 and 5//2 will give 2 as the decemal part will be removed in floor division
  • python bootcamp 2021
datai analytics