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 = input()
dic = {'A':1, 'D':1, 'O':...
asked by
24.12.2017 / 19:19