May-19-2019, 09:01 AM
it works, I wonder that you wrote it in 16 lines!!
There is problem, when some new name came into the game. for example if i have input like below:
for the third line in input, the code will return '0' which is incorrect. (the reason for that is: the second and the third are the similar pass) but I dont know how to save it.
also I should use (OrderedDict from collections library) to make a dictionary and solve it with dictionary.
There is problem, when some new name came into the game. for example if i have input like below:
Quote:danial,99b057c8e3461b97f8d6c461338cf664bc84706b9cc2812daaebf210ea1b9974
elham,85432a9890aa5071733459b423ab2aff9f085f56ddfdb26c8fae0c2a04dce84c
stefi,85432a9890aa5071733459b423ab2aff9f085f56ddfdb26c8fae0c2a04dce84c
for the third line in input, the code will return '0' which is incorrect. (the reason for that is: the second and the third are the similar pass) but I dont know how to save it.
also I should use (OrderedDict from collections library) to make a dictionary and solve it with dictionary.