break-the-ice-with-python icon indicating copy to clipboard operation
break-the-ice-with-python copied to clipboard

The repository is about 100+ python programming exercise problem discussed, explained, and solved in different ways

Results 95 break-the-ice-with-python issues
Sort by recently updated
recently updated
newest added

Added a new solution using reduce and lambda functions

"sorted" can be worked on set, tuple because list.sort() is only there in list

'''Solution by: parian5 ''' from math import sqrt C, H = 50, 30 mylist = input().split(',') print(*(round(sqrt(2*C*int(D)/H)) for D in mylist), sep=",") '''Solution by: Utkarsh4697 ''' from math import sqrt...

enhancement

When we use more than 2 duplicates than the program gives us an incorrect solution. the program only works on 2 duplicates. so I think we need to use a...

enhancement

I request you to add my own solution which is easier than other solutions.

bug
enhancement

![image](https://user-images.githubusercontent.com/68786065/89107964-7c894880-d452-11ea-8a19-1a2f7f32c18e.png) it doesn't work properly in removing duplicates

num = int(input()) result = {} for i in range(1, num + 1): result.setdefault(i, i * i) i += 1 print(result)

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)