+ 1
how do you input if(variable contains something like a number) or is it not possible?
if you can show me in a code
2 ответов
+ 1
in c++
0
umm .. which language?
In python:
list_1 = [1, 2, 3, 4]
a = 2
if a in list_1:
print("I found it")
if you can show me in a code