4 ответов
+ 6
w= [int(i) for i in ["1","2","3"]] or w=list(map(int, w))
15th Aug 2020, 8:17 PM
Oma Falk
Oma Falk - avatar
15th Aug 2020, 6:03 PM
Oma Falk
Oma Falk - avatar
+ 1
Hello fellow programmer! I rewrote your code in a different way, instead of (if continue) i wrote (nested ifs). Unfortunately The code cannot be output by sololearn because of a timeout error. So i had to write it on my pc editor and tried it... if you want the conditioned number msg me😂😅 Try it on a pc if you could.. And keep up! https://code.sololearn.com/c7loSbWeuox1/?ref=app
15th Aug 2020, 7:37 PM
Jamal Abdullhamid
Jamal Abdullhamid - avatar
+ 1
Oma Falk how do i fix it like I'm trying to make it integers instead of strings like [1, 2, 3] instead of ["1", "2", " 3"]
15th Aug 2020, 8:12 PM
QUEST
QUEST - avatar