[Python] Jump Print in Python

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

  1. Stack

    Stack Membro Participativo

    i dont know what the name of this call method, this my simple python code

    fruits1 = ["banana","avocado","grape","orange","strawberry"]
    for a in fruits1:
    print(a)


    if normal the print(a) output like this

    banana
    avocado
    grape
    orange
    strawberry


    so how to make output result print (a) like this

    avocado
    grape
    orange
    strawberry


    i want to jump and first result in avocado

    thanks

    Continue reading...

Compartilhe esta Página