Hola amigos.. alguien me puede decir que estoy haciendo mal? Perdon por la ignorancia, pero soy nuevo en la programacion.
def month_days(month, numberOfDays):
print(month + "has " + str(numberOfDays) + " days.")
june_days = 30
july_days = 31
month1= "June"
month2= "July"
month_days (month1, june_days)
_________________________________________________________________
Expected method 'month_days' to be defined as:
def month_days(month, days):
. . .
...
def month_days(month, numberOfDays):
print(month + "has " + str(numberOfDays) + " days.")
june_days = 30
july_days = 31
month1= "June"
month2= "July"
month_days (month1, june_days)
_________________________________________________________________
Expected method 'month_days' to be defined as:
def month_days(month, days):
. . .
...