Python Practice question ( 28-09-2023)

1.) Program forwords frequency in string shorthands

i/p = "Im studying python in edyoda "

o/p = {“im”:1 , “learning” :1 , “python” : 1 , “in” :1, “edyoda” : 1}

2.) Program to convert snake case to pascal case

input = im_learning_in_edyoda
output = ImLearningInEdyoda

3.) What is the difference between ( & , and ) ?