Looking at my code in VSC this is my very first attempt, but I don't know why didn't worked. It put it in an array so I had to do extra steps... Feel dumb.
the second if statement is ingenious, plus the next if that comes after it is also perfect, the -1 is used so that whether the last position is 2 or 1
(due to potential lack of noses in each case), the index at that if will always be the last position, hot implementation friend :)
Looking at my code in VSC this is my very first attempt, but I don't know why didn't worked. It put it in an array so I had to do extra steps... Feel dumb.
This comment is hidden because it contains spoiler information about the solution
the second if statement is ingenious, plus the next if that comes after it is also perfect, the -1 is used so that whether the last position is 2 or 1
(due to potential lack of noses in each case), the index at that if will always be the last position, hot implementation friend :)
i didn't know split empty can split by more than 1 space :O
I doubted you so i make a script to test that. and in fact using the for is like more than 2x faster. as you can see in:
https://github.com/n4ndoDev/mystuff/blob/main/tm.py
Oh ! I'm not smart enough to make such complex decisions. I can only offer a simple solution!)
"It's not a function" No it is indeed a function.
"It must function" OK it functions already and passes the test.
This comment is hidden because it contains spoiler information about the solution
_
Hey people!
May somebody shortened my code? :-)
It's slowly then 'for' iteration!
Well, I will not teach a profi with the first level.
This comment is hidden because it contains spoiler information about the solution
It's not a function, but must function.
Output of if operator is true or false!
Loading more items...