Skip to content

Commit fa45251

Browse files
committed
https://github.com/4GeeksAcademy/master-python-programming-exercises/pull/32
1 parent 9bcda77 commit fa45251

File tree

15 files changed

+54
-50
lines changed

15 files changed

+54
-50
lines changed

exercises/003-area_of_right_triangle/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66

77
![Image description](http://i.imgur.com/6EkzVxA.jpg)
88

9-
## Example input:
10-
11-
+ 5
12-
13-
## Example output:
14-
15-
+ 7.5
9+
## Ejemplo:
1610

11+
```py
12+
area_of_triangle(3,5)
13+
print(7.5)
14+
```
1715
## 💡 Hints:
1816

1917
+ If you don't know how to start solving this exercise, please, review a theory for this lesson: https://snakify.org/lessons/print_input_numbers/

exercises/004-hello_harry/README.es.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66

77
*La salida de tu función debe coincidir estrictamente con la deseada, caracter por caracter. No debe haber ningún espacio entre el nombre y el signo de exclamación.*
88

9-
### Ejemplo de entrada:
9+
## Ejemplo entrada:
1010

11-
+ Harry
11+
```py
12+
hello_name(Harry)
13+
```
14+
## Ejemplo de salida:
1215

13-
### Ejemplo de salida:
14-
15-
+ Hello, Harry!
16+
Hello, Harry!
1617

1718
## 💡 Pistas:
1819

exercises/004-hello_harry/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
## Example input:
1010

11-
+ Harry
11+
```py
12+
hello_name(Harry)
13+
```
1214

1315
## Example output:
1416

15-
+ Hello, Harry!
17+
Hello, Harry!
1618

1719
## 💡 Hints:
1820

exercises/005-previous_and_next/README.es.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44

55
1. Completa la función `previous_next()` para que lea un número entero y devuelva sus números anteriores y siguientes.
66

7-
## Ejemplo de entrada:
7+
## Ejemplo:
88

9-
+ 179
9+
```py
10+
previous_next(179)
11+
```
1012

1113
## Ejemplo de salida:
1214

exercises/005-previous_and_next/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
## Example input:
88

9-
+ 179
10-
9+
```py
10+
previous_next(179)
11+
```
1112
## Example output:
1213

1314
+ (178, 180)

exercises/006-apple_sharing/README.es.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
## Ejemplo de entrada:
88

9-
+ (6, 50)
9+
```py
10+
apple_sharing(6, 50)
11+
```
1012

1113
## Ejemplo de salida:
1214

exercises/006-apple_sharing/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
## Example input:
88

9-
+ (6, 50)
9+
```py
10+
apple_sharing(6, 50)
11+
```
1012

1113
## Example output:
1214

exercises/007-hours_and_minutes/README.es.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
## Ejemplo de entrada:
1414

15-
+ 3900
15+
```py
16+
hours_minutes(3900)
17+
```
1618

1719
## Ejemplo de salida:
1820

exercises/007-hours_and_minutes/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
## Example input:
1414

15-
+ 3900
15+
```py
16+
hours_minutes(3900)
17+
```
1618

1719
## Example output:
1820

exercises/008-two_timestamps/README.es.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,19 @@
66

77
## Ejemplo de entrada #1:
88

9-
+ 1
10-
+ 1
11-
+ 1
12-
+ 2
13-
+ 2
14-
+ 2
9+
```py
10+
two_timestamp(1,1,1,2,2,2)
11+
```
1512

1613
## Ejemplo de salida #1:
1714

1815
+ 3661
1916

2017
## Ejemplo de entrada #2:
2118

22-
+ 1
23-
+ 2
24-
+ 30
25-
+ 1
26-
+ 3
27-
+ 20
19+
```py
20+
two_timestamp(1,2,30,1,3,20)
21+
```
2822

2923
## Ejemplo de salida #2:
3024

0 commit comments

Comments
 (0)