Posts by Iago Tito • 53 points
2 posts
-
-1
votes1
answer36794
viewsQ: How do I place items on a list in ascending or descending order?
I am trying to put the numbers of a list in ascending order but the Sort() method is putting the 10 and its multiples (20, 30) as being similar to itself divided by 10. For example, in the following…
-
5
votes5
answers11566
viewsQ: How to find the type of a variable given by the user?
I would like to ask the user to type something and find out what kind of what he wrote. So far I only know the input(), but the input() only returns the type String. If I put int(input()) or…