• Python question of the day

    What would be the output of executing the following code:
    my_obj = 1, "hello", 4.5, [6,8], (8, 9.2)
    type(my_obj)
     collection
     tuple
     set
     dict
    Explanation:
    In declaring a tuple with more than one element, the parentheses '()' can be omitted


    Top 100 python interview questions:


  • python bootcamp 2021
datai analytics