Python Interview Questions
  • Python - Magic Methods
    1. What is the magic method for addition?
    A) __add__
    B) __+__
    C) __sum__

    Answer: __add__
    2. What is the magic method for greater than or equal?
    A) __gte__
    B) __ge__
    C) gte

    Answer: __ge__

  • Apply for an intership with Datai Analytics by filling your email, name and phone number