Posts by Isabela Molina • 11 points
1 post
-
1
votes1
answer219
viewsQ: Dictionary and repeating structure
The problem asks me to count the size of holes in the text Exp: A, D, R, O, P has only one hole, and B has two I made the following code: qnt = int(input()) cont = 0 l = [] for i in range(qnt): txt…