darkprinx / break-the-ice-with-python

The repository is about 100+ python programming exercise problem discussed, explained, and solved in different ways
2.75k stars 1.45k forks source link

Create question-91-solution #118

Open mishrasunny-coder opened 2 years ago

mishrasunny-coder commented 2 years ago

solution for question 91

l = [] string = input("Enter the string: ").split(' ') for i in range(len(string)):

l.append(string[len(string)-i-1][::-1])

a = ' '.join(l)