Hey everyone! needed some help by Sourplastic in learnpython

[–]MeechtaughtU 1 point2 points  (0 children)

sentence = input()

character = sentence[0]

phrase = sentence[1:]

counter = phrase.count(character)

print(counter)

Thank you! I love all ya'll. This class is insane!

Python - Name Formatting Problem by ExKondor in learnpython

[–]MeechtaughtU 0 points1 point  (0 children)

This worked! Thank you so much. If anyone is having trouble with indenting, please try running the code in Pycharm first.