Помогите с кодом | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Помогите с кодом

небольшой код на операции со списками https://code.sololearn.com/cP1J1MJm76q0/?ref=app

30th Nov 2017, 6:42 PM
Ilya
Ilya - avatar
8 Respuestas
+ 2
what do you need to fix?
2nd Dec 2017, 4:07 PM
Daniel
Daniel - avatar
+ 2
you must to check every number in Y into X, you can do it with a FOR into another FOR
2nd Dec 2017, 5:11 PM
Daniel
Daniel - avatar
+ 1
I ve written a tiny code.Need some help to fix it.
2nd Dec 2017, 8:48 AM
Ilya
Ilya - avatar
+ 1
https://code.sololearn.com/ccRfU6l2RioL/?ref=app Maybe you can use something like that ;-)
3rd Dec 2017, 12:12 AM
Daniel
Daniel - avatar
+ 1
found solution on my own but thx for advise
3rd Dec 2017, 6:16 AM
Ilya
Ilya - avatar
0
If you write in english too, maybe you can get more answers
2nd Dec 2017, 8:00 AM
Daniel
Daniel - avatar
0
so, I am trying to figure out how operations with lists work. The idea was to create 2 variables and put there numbers, for example x=[1,2,3,4,5,6,7] and y=[1,2] ;if the numbers of y match with x nums, then print a text "here should be placed a text".How to code it in propah way?
2nd Dec 2017, 5:03 PM
Ilya
Ilya - avatar
0
Ty, I ve faced with another problem:the programm multiplies a notice. Wanna see a single one. Tried to solve it via "break" command in the end of algorithm but something went wrong.
2nd Dec 2017, 5:36 PM
Ilya
Ilya - avatar