Skip to content

Commit 8fb226b

Browse files
committed
https://github.com/learnpack/learnpack/issues/721
1 parent 3b305e6 commit 8fb226b

File tree

19 files changed

+68
-38
lines changed

19 files changed

+68
-38
lines changed

exercises/011-last_two_digits/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-
+ 1234
9+
```py
10+
last_two_digits(1234)
11+
```
1012

1113
## Ejemplo de salida:
1214

exercises/011-last_two_digits/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-
+ 1234
9+
```py
10+
last_two_digits(1234)
11+
```
1012

1113
## Example output:
1214

exercises/012-tens_digit/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 1:
88

9-
+ 1234
9+
```py
10+
tens_digit(1234)
11+
```
1012

1113
## Ejemplo de salida 1:
1214

exercises/012-tens_digit/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66

77
## Example input 1:
88

9-
+ 1234
9+
```py
10+
tens_digit(1234)
11+
```
1012

1113
## Example output 1:
1214

1315
+ 3
1416

1517
## Example input 2:
1618

17-
+ 179
19+
tens_digit(179)
1820

1921
## Example output 2:
2022

exercises/013-sum_of_digits/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-
+ 123
9+
```py
10+
digits_sum(123)
11+
```
1012

1113
## Ejemplo de salida:
1214

exercises/013-sum_of_digits/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-
+ 123
9+
```py
10+
digits_sum(123)
11+
```
1012

1113
## Example output:
1214

exercises/014-digit_after_decimal_point/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-
+ 1.79
9+
```py
10+
first_digit(1.79)
11+
```
1012

1113
## Ejemplo de salida:
1214

exercises/014-digit_after_decimal_point/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-
+ 1.79
9+
```py
10+
first_digit(1.79)
11+
```
1012

1113
## Example output:
1214

exercises/015-car_route/README.es.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## 📝 Instrucciones:
44

5-
1. Un vehículo puede cubrir una distancia de `N` kilómetros por día ¿Cuántos días le tomará cubrir una ruta de `M` kilómetros de longitud?
5+
1. Un vehículo puede cubrir una distancia de `N` kilómetros por día ¿Cuántos días le tomará cubrir una ruta de `M` kilómetros de longitud? Escribe una función `car_route()`para calcularlo.
66

77
## Ejemplo de entrada:
88

9-
+ 700
10-
+ 750
9+
```py
10+
car_route(700,750)
11+
```
1112

1213
## Ejemplo de salida:
1314

exercises/015-car_route/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## 📝 Instructions:
44

5-
1. A car can cover distance of `N` kilometers per day. How many days will it take to cover a route of length `M` kilometers?
5+
1. A car can cover distance of `N` kilometers per day. How many days will it take to cover a route of length `M` kilometers? Write a `car_route()` function to calculate it.
66

77
## Example input:
88

9-
+ 700
10-
+ 750
9+
```py
10+
car_route(700
11+
```
1112

1213
## Example output:
1314

0 commit comments

Comments
 (0)