• Python question of the day

    What is the output of executing the following code snippet:
    poll_data = 7,
    type(poll_data)
     int
     float
     tuple
     Runtime Error
    Explanation:
    In python, one-element tuples need a comma


    Top 100 python interview questions:






datai analytics