Skip to main content

Timeline for Mathematical Combination

Current License: CC BY-SA 2.5

5 events
when toggle format what by license comment
Mar 23, 2011 at 16:52 comment added user1011 Unfortunately, no, but it's not * that's the issue. 4545 78 isn't a valid Python expression, so input() will raise a SyntaxError. This trick depends entirely on the problem asking for x,y. If you had a function that read x y and returned a tuple, then you could use * with that just fine.
Mar 23, 2011 at 14:27 comment added Quixotic Can we use * for parsing inputs of the form 4545 78?
Mar 23, 2011 at 7:35 history edited user1011 CC BY-SA 2.5
Added ungolfed version and explanation.
Mar 23, 2011 at 4:43 comment added backus Could you provide an ungolfed example of your script?
Mar 23, 2011 at 4:40 history answered user1011 CC BY-SA 2.5