• Python question of the day

    Which code snippet will give this output: ['H', 'e', 'l', 'l', 'o']
     break("Hello")
     split("Hello")
     unpack("Hello")
     list("Hello")
    Explanation:
    In python, list (and tuple) apply to any Python sequence, and a string is just a sequence of characters.


    Top 100 python interview questions:



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