TOPIC
Tem algum erro ?
hpraimundo asked 4 years ago
n = int(input()) dentro = 0 fora = 0 for c in range(n): x = int(input()) if x >= 10 and x <= 20: dentro += 1 #dentro = dentro + 1 else: fora += 1 print('{} in \n{} out'.format(dentro, fora))
This topic has not been answered yet. Be the first!