1
3. count repeated characters in a string and represent it as a dictionary. (1 point)
The output should be:
Your selection (1 -> 3):
3
Enter a string: PE PFP191
OUTPUT
{'P': 3, '1': 2}
Question 2 (3 points)
Write a program in Python that reads a text file "data.txt" (attached in the given and the file name is entered from the keyboard) containing many integer numbers.
1. Read each number in the file and print them on the screen. (1 points)
The output should be:
Zoom
+ 100%
Close