Skip to content
Prev Previous commit
Next Next commit
https://github.com/4GeeksAcademy/master-python-programming-exercises/…
…pull/32
  • Loading branch information
ElviraQDP committed Mar 3, 2022
commit fa452514ac105dcbf31c561590ab818fab01d43f
12 changes: 5 additions & 7 deletions exercises/003-area_of_right_triangle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@

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

## Example input:

+ 5

## Example output:

+ 7.5
## Ejemplo:

```py
area_of_triangle(3,5)
print(7.5)
```
## 💡 Hints:

+ 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/
Expand Down
11 changes: 6 additions & 5 deletions exercises/004-hello_harry/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@

*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.*

### Ejemplo de entrada:
## Ejemplo entrada:

+ Harry
```py
hello_name(Harry)
```
## Ejemplo de salida:

### Ejemplo de salida:

+ Hello, Harry!
Hello, Harry!

## 💡 Pistas:

Expand Down
6 changes: 4 additions & 2 deletions exercises/004-hello_harry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@

## Example input:

+ Harry
```py
hello_name(Harry)
```

## Example output:

+ Hello, Harry!
Hello, Harry!

## 💡 Hints:

Expand Down
6 changes: 4 additions & 2 deletions exercises/005-previous_and_next/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

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

## Ejemplo de entrada:
## Ejemplo:

+ 179
```py
previous_next(179)
```

## Ejemplo de salida:

Expand Down
5 changes: 3 additions & 2 deletions exercises/005-previous_and_next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

## Example input:

+ 179

```py
previous_next(179)
```
## Example output:

+ (178, 180)
Expand Down
4 changes: 3 additions & 1 deletion exercises/006-apple_sharing/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

## Ejemplo de entrada:

+ (6, 50)
```py
apple_sharing(6, 50)
```

## Ejemplo de salida:

Expand Down
4 changes: 3 additions & 1 deletion exercises/006-apple_sharing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

## Example input:

+ (6, 50)
```py
apple_sharing(6, 50)
```

## Example output:

Expand Down
4 changes: 3 additions & 1 deletion exercises/007-hours_and_minutes/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

## Ejemplo de entrada:

+ 3900
```py
hours_minutes(3900)
```

## Ejemplo de salida:

Expand Down
4 changes: 3 additions & 1 deletion exercises/007-hours_and_minutes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

## Example input:

+ 3900
```py
hours_minutes(3900)
```

## Example output:

Expand Down
18 changes: 6 additions & 12 deletions exercises/008-two_timestamps/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,19 @@

## Ejemplo de entrada #1:

+ 1
+ 1
+ 1
+ 2
+ 2
+ 2
```py
two_timestamp(1,1,1,2,2,2)
```

## Ejemplo de salida #1:

+ 3661

## Ejemplo de entrada #2:

+ 1
+ 2
+ 30
+ 1
+ 3
+ 20
```py
two_timestamp(1,2,30,1,3,20)
```

## Ejemplo de salida #2:

Expand Down
18 changes: 6 additions & 12 deletions exercises/008-two_timestamps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,19 @@

## Example input #1:

+ 1
+ 1
+ 1
+ 2
+ 2
+ 2
```py
two_timestamp(1,1,1,2,2,2)
```

## Example output #1:

+ 3661

## Example input #2:

+ 1
+ 2
+ 30
+ 1
+ 3
+ 20
```py
two_timestamp(1,2,30,1,3,20)
```

## Example output #2:

Expand Down
4 changes: 3 additions & 1 deletion exercises/009-two_digits/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

## Ejemplo de entrada:

+ 79
```py
two_digits(79)
```

## Ejemplo de salida:

Expand Down
4 changes: 3 additions & 1 deletion exercises/009-two_digits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

## Example input:

+ 79
```py
two_digits(79)
```

## Example output:

Expand Down
2 changes: 1 addition & 1 deletion exercises/010-swap_digits/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Ejemplo de entrada:

```py
+ swap_digits(79)
swap_digits(79)
```

## Ejemplo de salida:
Expand Down
2 changes: 1 addition & 1 deletion exercises/010-swap_digits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Example input:

```py
+ swap_digits(79)
swap_digits(79)
```

## Example output:
Expand Down