Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ab28fb

Browse files
Merge pull request #105 from UmiKami/09-Max_integer_from_list
clarified instructions to match tests
2 parents 054ab6f + 7d979b2 commit 1ab28fb

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

‎exercises/09-Max_integer_from_list/README.es.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22

33
## 📝 Instrucciones:
44

5-
1. Escribe un script que encuentre el entero más grande la lista.
5+
1. Crea una función llamada `maxInteger`.
6+
7+
2. Esta función debe tomar una lista como parámetro de entrada y devolver el número máximo encontrado en la lista.
8+
9+
3. Deberías usar un bucle 'for' para recorrer la lista.
10+
11+
4. Utiliza la función `print()` para imprimir lo que devuelve la función al ser llamada.
12+
13+
- Por **ejemplo**: `print(myFunction(param))`
614

7-
2. Imprime ese número en la consola con al función `print()`.
815

916
## 💡 Pista:
1017

‎exercises/09-Max_integer_from_list/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
## 📝 Instructions:
44

5-
1. Write a script that finds the biggest integer in the list.
5+
1. Create a function named `maxInteger`
66

7-
2. Print that number in the console with the `print()` function.
7+
2. This function should take a list as an input parameter and
8+
return the maximum number found in the list.
9+
10+
3. You should use a 'for' loop to iterate through the list.
11+
12+
4. Use the `print()` function to print what the function returns when it is called.
13+
- For **example**: `print(myFunction(param))`
814

915
## 💡 Hint:
1016

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /