0
What is wrong
y=[2,4,6,8] A=[6,3] if Z= y.append(2): print(Z)
6 ответов
+ 5
if Z=y.append(2):
what you want to do with this line..?
+ 1
I am just a beginner, self taught to be precise, it came to my mind and I am just inquisitive to know about it. I guess you know how to help me
+ 1
Yeah thanks I now know better
0
If you want to make logic with variable Z then create a list with variable Z and store value in it . And then after appending 2 to list y compare it with list Z then it will have some meaning.
But now your code is meaningless
0
No I just want to be to do some manipulations.. Trying to do some substitutions like
Y=2
If z=y*2
Then=6
Do you get me