Python Practice problems

1.) WAP to find the cumulative sum of a list

input = [ 10,20,30,40,50]
output = [10,30,60,100,150]

2.) WAP to remove letters from a string in python

input = edyoda
output = eyoda

3.) Convert snake case to pascal case

input = im_learning_in_edyoda
output = ImLearningInEdyoda

1 Like