1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Split function in python

Discussão em 'Python' iniciado por Stack, Maio 23, 2025.

  1. Stack

    Stack Membro Participativo

    so I want to make it so that a list can read things from 1 to 10 This is what i did I am want the user to input with spaces and strings:

    run = True

    if run:
    inp = input("Basic>")
    split = inp.split()
    if split[0] == "print":
    print(split[1,10])


    can someone help me By the way this is just using my lua knowledge i did this comma thing I don't use split much in pyhton

    Continue reading...

Compartilhe esta Página