File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ print(random.randint(30,40))
1717
print(random.randint(40,50))
1818
```
1919

20-
**[Try it on Programming Hero](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp)**
2120

2221

2322
The problem is that, in every line, you have to type random.randint. As a programmer, you will be lazy. Hence, while import you can import the randint directly in your code. For that, you have to say, from random import randint. Like below:
@@ -30,8 +29,7 @@ print(randint(20,30))
3029
print(randint(30,40))
3130
print(randint(40,50))
3231
```
33-
34-
**[Try it on Programming Hero](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp)**
32+
3533

3634
## Solution
3735
The code below is submitted by Programmer Karim...
@@ -88,10 +86,3 @@ At last, we calculate the difference.
8886
That’s a pretty simple way to get the days remaining for your next birthday.
8987

9088
Isn’t it cool?
91-
92-
93-
 
94-
[![Next Page](../assets/next-button.png)](Calculate-age.md)
95-
 
96-
97-
tags: `programming-hero` `python` `python3` `problem-solving` `programming` `coding-challenge` `interview` `learn-python` `python-tutorial` `programming-exercises` `programming-challenges` `programming-fundamentals` `programming-contest` `python-coding-challenges` `python-problem-solving`

0 commit comments

Comments
 (0)