0
How can delete in list like [4,2] as I already have [2,4]
10 Respostas
+ 3
There are many ways to do this. In my opinion, just replace "n" with "n//2+1" in range function, and it will work fine.
https://code.sololearn.com/cl3i1b1dD5DA/?ref=app
+ 1
Tq đ€ Master Ji
+ 1
Gireesh Desineni
If you don't want any zero-including answer in your output, you can change this line in your "containszero" function:
replace
if(z in a and z in b):
with
if(z in a or z in b):
+ 1
đđąđąđđš đđĄđđČđđ„ That's Fine Bro đ„đ„.. Tqs For The Support
0
đđąđąđđš đđĄđđČđđ„ Your Code Is Good But Check For f(11)... Solution has an integer 10 which is not no zero integer
0
æç«ćš I replaced not in for loop I Managed It Anyway
0
æç«ćš if it's or 10 0r 5 Returns True
0
So I used and.. so that both Intergers will be no zero integer