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.
# 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
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.
AcceptLearn more