Skip to content
    Taiga123m

    Taiga Matsumoto

    @Taiga123m
    balls
    Taiga123m
    Taiga123m
    published a Repl
    2 years ago
    0
    python sort question
    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
    Taiga123m
    Taiga123m
    published a Repl
    2 years ago
    0
    porx10totynp38KJdl:0+fa
    porx10totynp38KJdl:0+fagijakjer codr code3 eijhebyoass jfproxxxxx EE
    Taiga123m
    Taiga123m
    published a Repl
    2 years ago
    0
    porx10totynp38KJdl:0+fa
    porx10totynp38KJdl:0+fagijakjer codr code3 eijhebyoass jfproxxxxx EE
    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang