I want to read two input values. First value should be an integer and the second value should be a float.
I saw Read two variables in a single line with Python, but it applies only if both the values are of same type. Do I have any other way?
Example input, first is int and second is float. The inputs should be on a single line:
20 150.50
http://www.codechef.com/problems/HS08TEST/
I’m very new to Python.
Like this:
You can’t do this in a one-liner (or at least not without some super duper extra hackz0r skills — or semicolons), but python is not made for one-liners.