Skip to content

Commit 2df2e7b

Browse files
committed
some changes and tag update
2 parents df24ee9 + fcfd552 commit 2df2e7b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+214
-172
lines changed

Computations/Calculate-Grades.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ After that, we are running a simple if-else to determine the grade.
4141
[![Next Page](../assets/next-button.png)](Gravitational-Force.md)
4242
 
4343

44-
###### tags: `programmig-hero` `python` `float` `int` `math`
44+
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`

Computations/Complex-Interest.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ Take money borrowed, interest and duration as input. Then, compute the compound
55

66
### Hint
77
Compound interest formula is:
8-
8+
```python
99
A = P(1+r/100)t
10+
```
1011

1112
Here, P is the principal amount; it is the amount that you borrowed. r is the interest rate in percentage and t is the time.
1213

@@ -43,4 +44,4 @@ To apply the same power on multiple things, put them inside parentheses and then
4344
[![Next Page](../assets/next-button.png)](Calculate-Grades.md)
4445
 
4546

46-
###### tags: `programmig-hero` `python` `float` `int` `math`
47+
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`

Computations/Gravitational-Force.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Compute gravitational force between two objects.
66
## Hint
77
The formula for gravitational force is
88

9-
**F = G m1m2/r2**
9+
`F = G m^1m^2/r^2`
1010

1111
Here G is the gravitational constant. Its value is 6.673*10-11
1212

@@ -31,13 +31,13 @@ print("The gravitational force is:", round(force, 5),"N")
3131
## Explanation
3232
The calculation is simple. Only two things need to be learned from this.
3333

34-
**Have a look, how we wrote 6.673*10-11**
34+
`Have a look, how we wrote 6.673*10-^11`
3535

36-
> Also, note that while displaying the force, we used a round function. In the round function, we passed the force, the variable we want to display. Then we passed another parameter to tell, how many decimal points we want to display.
36+
Also, note that while displaying the force, we used a round function. In the round function, we passed the force, the variable we want to display. Then we passed another parameter to tell, how many decimal points we want to display.
3737

3838

3939
 
4040
[![Next Page](../assets/next-button.png)](Triangle-Area.md)
4141
 
4242

43-
###### tags: `programmig-hero` `python` `float` `int` `math`
43+
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`

Computations/Simple-Interest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Read the code. I think you don’t need any extra explanation here.
3434
[![Next Page](../assets/next-button.png)](Complex-Interest.md)
3535
 
3636

37-
###### tags: `programmig-hero` `python` `float` `int` `math`
37+
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`

Computations/Triangle-Area.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The math module has a lot of math-related functionalities.
6464

6565

6666
 
67-
[![Next Page](../assets/next-button.png)](..README.md)
67+
[![Next Page](../assets/next-button.png)](../Prime-number/Check-Prime.md)
6868
 
6969

70-
###### tags: `programmig-hero` `python` `float` `int` `math`
70+
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`

Conversions/Celsius-to-Fahrenheit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ print("Temperature in Fahrenheit:", fahrenheit)
2323
**[Try it on Programming Hero](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp)**
2424

2525
 
26-
[![Next Page](../assets/next-button.png)](../README.md)
26+
[![Next Page](../assets/next-button.png)](Decimal-to-binary.md)
2727
 
2828

29-
###### tags: `programmig-hero` `python` `float` `int` `math`
29+
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`
3030

Conversions/Decimal-to-binary-recursive.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ After coding for a while, recursive will become fun. Until then, recursive funct
88
So, don’t worry if you felt confused. You are not alone. I am in the same condition as well.
99

1010
## Recursive
11-
```python=
11+
```python
1212
def dec_to_binary(n):
1313
if n > 1:
1414
dec_to_binary(n//2)
1515
print(n % 2,end = '')
1616
```
1717

1818
## decimal number
19-
```python=
19+
```python
2020
num = int(input("Your decimal number: "))
2121
dec_to_binary(num)
2222
print(" ")
@@ -42,7 +42,7 @@ There are multiple ways to format the print string. Google it, when needed.
4242

4343

4444
 
45-
[![Next Page](../assets/next-button.png)](../README.md)
45+
[![Next Page](../assets/next-button.png)](../Solution-Strategy.md)
4646
 
4747

48-
###### tags: `programmig-hero` `python` `float` `int` `math`
48+
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`

Conversions/Decimal-to-binary.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ While dividing, you will keep the remainder. These remainders will be used to bu
2121

2222
Then, reverse the order of the reminder, to get the binary number.
2323

24-
**Give me more: non-premium**
25-
Let's say, you want to get the binary number of 233. You will start dividing by 2, store the remainder on a list. And then, set the number by the result of the division
26-
27-
So, if you divide 233 by 2, the result will be 116 and the remainder will be 1.
28-
29-
Keep doing it until the number becomes 0.
30-
31-
Then you will reverse the list.
32-
33-
Finally, you have to put the binary bits (0 and 1) in one number to get the final binary.
34-
3524
## Solution
3625
I looked into the below code 7 times to understand. Still trying to figure it out...So, spend some time here to look at the code:
3726

@@ -89,10 +78,10 @@ If you keep trying and revisiting , again and again, these will start making sen
8978

9079
## Quiz
9180

92-
1. What is a binary number?
93-
2. Numbers written on a trash bin
94-
3. Numbers that use 0,1 only
95-
4. Numbers with any 2 digits
81+
What is a binary number?
82+
1. Numbers written on a trash bin
83+
2. Numbers that use 0,1 only
84+
3. Numbers with any 2 digits
9685

9786
<details>
9887
<summary><b>Show Answer</b></summary>
@@ -105,7 +94,7 @@ Binary numbers use 0 and 1 only.
10594

10695

10796
&nbsp;
108-
[![Next Page](../assets/next-button.png)](../README.md)
97+
[![Next Page](../assets/next-button.png)](Decimal-to-binary-recursive.md)
10998
&nbsp;
11099

111-
###### tags: `programmig-hero` `python` `float` `int` `math`
100+
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`

Conversions/Miles-to-Kilometers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Go to the code editor and then try it yourself. When you do it yourself without
3535

3636

3737
&nbsp;
38-
[![Next Page](../assets/next-button.png)](../README.md)
38+
[![Next Page](../assets/next-button.png)](Celsius-to-Fahrenheit.md)
3939
&nbsp;
4040

41-
###### tags: `programmig-hero` `python` `float` `int` `math`
41+
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`
4242

Easy-ones/Floor-Division.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ print(result)
2727
When you divide one number by another you get two things. One is called the integer part of the division. Another is the remainder.
2828

2929
To get the quotient (result without the remainder), you can use two-division symbols.
30-
30+
```python
3131
print(37//10)
32+
37 = 3*10+7
33+
```
3234

3335
## Think different
3436
Another alternative approach is to use the floor method from the math module. If you pass a number with a fraction to the math.floor function, it will return you the integer part of the number.
@@ -72,5 +74,5 @@ Use // to get floor division.
7274
[![Next Page](../assets/next-button.png)](Temporary-variable.md)
7375
&nbsp;
7476

75-
###### tags: `programmig-hero` `python` `float` `int` `math`
77+
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`
7678

0 commit comments

Comments
 (0)