9
Andrés Muñoz
http://andres-cv.appspot.com/
Last seen 1 year ago
Member for 10 years
Difficulty Normal
return int(-1) is ok, but you can do it to with return -1 without int().
why dont let python read return (array[0]**0) and automatially return 1.
More
It would be better if you use whole names for variables like number instead of nbr, and so on. More readable
More
Which is the difference between first_set.intersection(second_set) and use first_set & second_set ? By the way nice code.
More
I learn something new with this code, thanks. I wanna ask which is the difference between first\_set.intersection(second\_set) and use first\_set & second\_set ?
More
This are the kind of things that I gonna tell others when ask me about why is a good idea to learn python, awesome challenge thanks !!
More
I like the line 4, because it describe what the script do very clearly.
maybe line 5 would be more clear if n == 3:
More
Good work, now try to do it in few lines, try playing with replace not only in every element of the tuple but in one long string and see what happens
More
It is novel idea to use args to check if something is empty or not, never the less I think a little comment could help cause is not clear at first look
More
Great work !!
I just sugest using the whole word not just initial, is better text than t or letter than l. It makes the code more readable for others and for you in the future.
More