Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Python_3_def(funciones 2)

# Funciones 2

# Parameters of list type
def fncMayor(prmList):
    print("     ", prmList)
    for x in range len(prmlist):
        print(x)

def fncCreaLista():
    print(); print("     Parameters of list type:")
    lista = [5, 9, 1, 7, 3]
    fncMayor(lista)

fncCreaLista()
# return of a list
# parameters with default value
# call to the function with named arguments
# variable amount of parameters

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.