+ 2

CHALLENGE: print the first recurring character in a string using python

print the first recurring character in a string using python and number of times it occurs eg.coffee my_mind challenge

24th Dec 2017, 5:21 AM
Anshuman Bharadwaj
Anshuman Bharadwaj - avatar
4 Answers
27th Dec 2017, 10:17 PM
Luc Hariman Randrianomenjanahary
Luc Hariman Randrianomenjanahary - avatar
+ 1
Here's my go at it :) It's probably not as elegant as it could be - I'm still a zombie after Christmas dinner yesterday! https://code.sololearn.com/cgF69SMIH8D7/#py
26th Dec 2017, 5:44 PM
Ben Smylie (he/him)
Ben Smylie (he/him) - avatar
0
Thanks buddy
27th Dec 2017, 1:38 AM
Anshuman Bharadwaj
Anshuman Bharadwaj - avatar
0
@Luc Nice job!
28th Dec 2017, 1:19 AM
Ben Smylie (he/him)
Ben Smylie (he/him) - avatar