text = input()
count = 0
for char in text:
if char == "!":
count += 1
print(count)
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
text = input()
count = 0
for char in text:
if char == "!":
count += 1
print(count)