Help Needed : script weird result.
On 9/1/18 1:11 PM, mohan4h at gmail.com wrote:
> I m trying to run this small script to find the lowest of the given array of numbers. The script works fine for various combination of inputs but fails in a weird way for a particular set of inputs, can anyone point the mistake in the script and the behavior.
> x = input ("Enter the numbers separated by space and press ENTER :")
Think about what x is here, and what x.split does.
> x = x.split(" ")
Now think about what x is again, and recall that Python is strongly typed.