Oct-04-2017, 06:57 PM
(Oct-04-2017, 01:27 PM)ichabod801 Wrote: This: int(i[0])*3+int(i[1])+int(i[2])*3+int(i[3])+int(i[4])*3+int(i[5])+int(i[6])*3 will work with the string method I showed you for getting at the integers. i just needs to be a string before you do this.it doesn't work.
liste = [i for i in range(int(barkod_numarasi), int(barkod_numarasi) + int(kac_tekrar))] three = str(liste[1])*3 print(int(three))And the result:
barkod numarası girelim1234567 kaç tekrar olsun2 şimdi hesaplanıyor.. 123456812345681234568what the fuck. I just want to 1*3.. anyway i will search . thank you