#Write a program whose input is a string which contains a character and a phrase, and whose output indicates
# the number of times the character appears in the phrase.
#The output should include the input character and use the plural form, n's, if the number of times the character appears is not exactly 1
#Ex if the input is:
# n Monday
# the output is:
# 1 n
character = input()
char, phrase = character.split(' ', 1)
count = phrase.count(char)
if count == 1:
print(f"{count} {char}")
else:
print(f"{count} {char}'s")
To embed this project on your website, copy the following code and paste it into your website's HTML: