14

Only thing I hate programming in python.

Comments
  • 25
    in the example the problem is not the syntax...
  • 2
    The problem is definitely not Python... You wouldn't have invented in another language?
  • 6
    12 loops deep?! I get that it's bad code, but still...
  • 0
    Won`t even run range(0,0.1,0.1)
  • 0
    Talking about syntax: You have to do that in every language to keep it readable, and comment each loop is desirable.

    Or are we talking about something else?
  • 0
    Do you even loop over cartesian products bruh
  • 0
    PLEASE

    REFACTOR THIS
  • 3
    Is it just me or does that make this solution O(n^12)
  • 0
    @Memeamphetamine no, most of those loops don't add anything complexity wise...
  • 2
    @meros whoops, I'm still learning
  • 0
    @mundo03. Range functions run till, so here it is 0.0 and the opening function is single too.
Add Comment