Luke Paireepinart wrote:
> vanam wrote:
>
>> For standard input from the keyboard raw_input will be used for string
>> and input for number.Suppose i want to input a list of some elements
>> how could it be done. Actually i am looking for sorting out elements
>> in a list.Below is the given s
vanam wrote:
> For standard input from the keyboard raw_input will be used for string
> and input for number.Suppose i want to input a list of some elements
> how could it be done. Actually i am looking for sorting out elements
> in a list.Below is the given script
> list = [45,4,5]
> list.sort(
"vanam" <[EMAIL PROTECTED]> wrote
> For standard input from the keyboard raw_input will be used for
> string and
> input for number.
input can read more than numbers. It will take whatever you type
and try to evaluate it as a Python expression. That's why input is
so dangerous and should be avoi
For standard input from the keyboard raw_input will be used for string and
input for number.Suppose i want to input a list of some elements how could
it be done. Actually i am looking for sorting out elements in a
list.Belowis the given script
list = [45,4,5]
list.sort()
for y in list:
print y -