Ah...I applied tolower() directly to the char in the ord()...didn't think to apply it to the whole string lol
python guru move
So happy I got the same solution. Took me a solid half an hour but the first time I have got one of these very clever answers
This comment is hidden because it contains spoiler information about the solution
It also took me so long for such an easy solution. But I got it in the end!
Haha clever
I know right. Good one indeed. A lesson at a time
I this the code is the most efficient and specific to the problem. It is a good thing
it's out of brain
crucial to ensure that such conciseness does not come at the expense of code readability.
😎it`s me
Python coerces any non-zero value to True in logical expressions
True
Please add the Spoiler flag when posting solutions. I added it for you here.
Spoiler
Loading collection data...
Ah...I applied tolower() directly to the char in the ord()...didn't think to apply it to the whole string lol
python guru move
So happy I got the same solution. Took me a solid half an hour but the first time I have got one of these very clever answers
This comment is hidden because it contains spoiler information about the solution
It also took me so long for such an easy solution. But I got it in the end!
Haha clever
I know right. Good one indeed. A lesson at a time
I this the code is the most efficient and specific to the problem. It is a good thing
it's out of brain
crucial to ensure that such conciseness does not come at the expense of code readability.
😎it`s me
Python coerces any non-zero value to
True
in logical expressionsPlease add the
Spoiler
flag when posting solutions. I added it for you here.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...