Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What Does the // Operator Do?

Satinder Rawal answered on April 24, 2023 Popularity 5/10 Helpfulness 1/10

Contents


More Related Answers

  • inreament operator
  • or operator
  • logical operators
  • What is the "-->" operator in C/C++?
  • c++ .* operator
  • and operator
  • operator overloading
  • ? operator
  • Operator Overloading >> in c++
  • OR operator
  • overload the >> operator in c++
  • ? operator in js
  • Logical Operators
  • ->* operator
  • operator using
  • AND Operator (AND)
  • & operator
  • what does & operator do
  • operator function in javascript
  • How does + operator work with variables?
  • c++ & operator in function
  • The Other Operators #
  • operator overloading
  • ? operator
  • operator overloading
  • java :: operator
  • -> operator c++

  • What Does the // Operator Do?

    0

    In Python, the / operator performs division and returns the quotient in the float.

    For example: 5 / 2 returns 2.5

    The // operator, on the other hand, returns the quotient in integer.

    For example: 5 // 2 returns 2 


    Popularity 5/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Apr 24 2023
    Satinder Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.