View difference between Paste ID: y6td3fLb and YAGNYah1
SHOW: | | - or go back to the newest paste.
1
a=0
2
b=0
3
c=0
4
display=''
5-
display2=0
5+
6
pergunta=int(raw_input ("Insira um número inteiro"))
7
8-
print pergunta
8+
 
9-
print type(pergunta)
9+
10
    a=i
11
    for j in range(10):
12-
    
12+
13-
    if result == pergunta:
13+
14-
        count+=1
14+
15-
        display2 += 3
15+
16-
        #display += ' Solução (' + str(count) + '): A roda A fez ' + str(a) + ' rotacoes, roda B fez '+ str(b) + ' rotacoes, roda C fez '+ str(c) + ' rotacoes.'
16+
            if result == pergunta:
17
                count+=1
18
                display += 'Rotações da Solução(' + str(count) + '): A(' + str(a) + ', B('+ str(b) + '), C('+ str(c) + ')\n'
19
                
20
if display=='':
21
    print 'result is not obtainable'
22
else:
23-
            print result
23+
    print str(count) + ' Soluções'+'\n'+str(display)