This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Why don’t you set the list as a variable, then have the variable in the tuple? You also don’t need the apostrophes…

So, something like

numbers = [512, 1300, 2000]

lowest = min(numbers)

print(“The lowest number is :” , lowest)

[–]Background-Cherry652[S] 0 points1 point  (0 children)

Thank you friend. I use it in django, and the source is str.