• Python question of the day

      What would be the output of executing the following code:
     72, 237, 13, 60, {'SBP': 132, 'DBP': 84}
     (72, 237, 13, 60) {'SBP': 132, 'DBP': 84}
     72 (237, 13, 60) {'SBP': 132, 'DBP': 84}
     ValueError
    Explanation:
    In python, **kwargs creates a dictionary with keywords as keys and values as values whereas *args creates a tuple. By using **kwargs you can name your arguments which is not possible in *args.


    Top 100 python interview questions:






datai analytics