[New-bugs-announce] [issue34016] Bug in sort()

Lucas Sampaio report at bugs.python.org
Sun Jul 1 15:28:46 EDT 2018


New submission from Lucas Sampaio <lucassdssampaio at gmail.com>:

lista4 = input().split()
print(lista4)
lista4.sort()
print(lista4)

Input = 6 8 10

Output:
 6 8 10
['6', '8', '10']
['10', '6', '8']

a bug occurs when setting the 10

----------
messages: 320843
nosy: lucassdssampaio
priority: normal
severity: normal
status: open
title: Bug in sort()
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34016>
_______________________________________


More information about the New-bugs-announce mailing list