Beta
Radical Simplifier
67rishiso
Loading description...
Fundamentals
Algorithms
Mathematics
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.
The link in the description is dead, could use this instead: https://en.wikipedia.org/wiki/Nth_root#Simplified_form_of_a_radical_expression
Duplicate of https://www.codewars.com/kata/5850e85c6e997bddd300005d
idk if this is an issue or my mistake... i got timed out when i hit the submit button, simple tests worked just fine (~800ms) tho.
p.s. total begginer here
I appreciate the feedback. This is my first kata, so I am still learning. Could someone explain why the output type would be better as a tuple? If someone makes a good argument, I will change it.
The output is always the same length, so a tuple is better practice in Python. Yes, if it's translated into a language that doesn't have tuples, you can do that in that language. But Python has tuples.
Similar: https://www.codewars.com/kata/5850e85c6e997bddd300005d https://www.codewars.com/kata/542f3d5fd002f86efc00081a
But the output type really should be a tuple. And why shouldn't it be an issue?
I have changed it.
This comment has been hidden.
How is that an issue, though??
Not an issue.
Updated to Python 3.6, and fixed it so your solution passes the tests by using the correct function name ;)
Thank You