• Python question of the day

    What is the output of executing the statement:
    [ ] and 5
     [ ]
     5
     0
     Runtime Error
    Explanation:
    In python, the and operator returns either the first false object (that an expression evaluates to) or the last object.


    Top 100 python interview questions:


  • python bootcamp 2021
datai analytics