How do I create a two dimensional list so that when I input two values a, b (separeted by a comma) until I enter a empty row so that the list looks like this [[a, b], [c, d], [e, f]] with float values?
Edit: My desired input would be for example:
print(input x,y)
2.0,-1.0
3.0,8.0
-1.0,4.0
(empty row)
And then my desired output would be:
[[2.0, -1.0], [3.0, 8.0], [-1.0, 4.0]
And if the first input is an empty space it would print "No input"