Taiga Matsumoto
@Taiga123m
balls
Repls
Community
0
python sort questionDon't pay attention to the repl since the code isn't in repl since I do it on a different software. So for some reason when i play and go with option 2 it just ends the program. I don't know how to fix it.
Here is the code, if you know how to chnage the font to make it look "code" pls tell me.
code:
print("Find the biggest and smallest number of a list!!!")
print()
print()
choice = input("Would you like a random list(1) or would you like to choose it yourself(2)? :")
if choice == 2:
nam = int(input("How many numbers would you like in the list? :"))
lst = []
for i in range(int(nam)):
amon = int(input("Enter a integer: "))
lst.append(amon)
print("These are the numbers in your list: " + str(lst))
print("Smallest number is " + str(lst[0]))
print("Largest number is " + str(lst[int(nam) - 1]))
It just doesn't make sense
0
0
0
porx10totynp38KJdl:0+fagijakjer codr code3 eijhebyoass jfproxxxxx
EE
0
0
0
porx10totynp38KJdl:0+fagijakjer codr code3 eijhebyoass jfproxxxxx
EE
0
0