Beta
Find The Solution
Loading description...
Puzzles
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
spelling error in the sample tests wasted is misspelled as waisted
Who waisted 10sec of their life? - You
raise Exeption("Please re-add 'from preloaded import *' to the beginning")
NameError: name 'Exeption' is not defined. Did you mean: 'Exception'?
ā
This comment has been hidden.
This comment has been hidden.
Hello there š
I don't see any issue with
open
because if for some reason things can't be imported, then alsoSecret
can't.Well, it's a puzzle at all, so... yeah, idk
I shifted now all
import
checks topreloaded
Cheers
you didn't get my point. Nowadays, everything coming from preloaded is supposed to be imported explicitly from the solution setup:
from preloaded import ...
meaning, once this becomes mandatory, your hack will just not work at all.the problem is (imo) that it makes the UX totally different, just relying on (bad) luck:
This comment has been hidden.
Nah, no cheating, please
that's when printing locals or globals to the console. How is the user supposed to know what he's supposed to use, now? I fear, that it's worse now than before, sorry... x)
I think the very least to do (and easiest way) to handle that is to modify a bit the description, saying explicitly that the Secret class is in preloaded
This comment has been hidden.
...no? x)
just add it to the description. There is nothing justifying so much hassle ;) You say in the description "we found that class", just say where it is. ;)
puzzles
tag is missing.Added!
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
No š
When you focus too much and then forget the test part lmao
I think I submitted over 50 times looking for hints hahaha
This comment has been hidden.
This comment has been hidden.
Uh,
that's not supposed to happen š
This comment has been hidden.