diff --git a/kyu_7/growing_plant/README.md b/kyu_7/growing_plant/README.md index 28ff3fc4dd8..dcaaa8ad65b 100644 --- a/kyu_7/growing_plant/README.md +++ b/kyu_7/growing_plant/README.md @@ -1,12 +1,17 @@ -## Simple Fun #74: Growing Plant +# Simple Fun #74: Growing Plant -### Task +## Task -Each day a plant is growing by `upSpeed` meters. Each night that plant's height decreases by `downSpeed` meters due to the lack of sun heat. Initially, plant is 0 meters tall. We plant the seed at the beginning of a day. We want to know when the height of the plant will reach a certain level. +Each day a plant is growing by `upSpeed` meters. Each night that +plant's height decreases by `downSpeed` meters due to the lack of +sun heat. Initially, plant is 0 meters tall. We plant the seed at +the beginning of a day. We want to know when the height of the plant +will reach a certain level. ### Example -For `upSpeed = 100, downSpeed = 10 and desiredHeight = 910`, the output should be `10`. +For `upSpeed = 100, downSpeed = 10 and desiredHeight = 910`, +the output should be `10`. ```bash After day 1 --> 100 @@ -30,7 +35,8 @@ For `upSpeed = 100, downSpeed = 10 and desiredHeight = 910`, the output should b After day 10 --> 910 ``` -For `upSpeed = 10, downSpeed = 9 and desiredHeight = 4`, the output should be `1`. +For `upSpeed = 10, downSpeed = 9 and desiredHeight = 4`, +the output should be `1`. Because the plant reach to the desired height at day 1(10 meters). @@ -58,6 +64,7 @@ Because the plant reach to the desired height at day 1(10 meters). - `output` an integer -The number of days that it will take for the plant to reach/pass desiredHeight (including the last day in the total count). +The number of days that it will take for the plant to reach/pass +desiredHeight (including the last day in the total count). [Source](https://www.codewars.com/kata/58941fec8afa3618c9000184/train/python) diff --git a/kyu_7/password_validator/README.md b/kyu_7/password_validator/README.md index ca78582ebf2..5a99a468204 100644 --- a/kyu_7/password_validator/README.md +++ b/kyu_7/password_validator/README.md @@ -14,7 +14,7 @@ The rules for a valid password are as follows: You are permitted to use any methods to validate the password. -**Examples:** +### Examples: > password("Abcd1234"); ===> true > @@ -30,7 +30,7 @@ You are permitted to use any methods to validate the password. > > password("!@#$%^&*()-_+={}[]|\:;?/>.<,"); ===> false; -**Extra info** +### Extra info: * You will only be passed strings. * The string can contain any standard keyboard character. diff --git a/kyu_7/significant_figures/README.md b/kyu_7/significant_figures/README.md index a6edd4787e9..12ab50f1245 100644 --- a/kyu_7/significant_figures/README.md +++ b/kyu_7/significant_figures/README.md @@ -14,34 +14,34 @@ significant figures below. ## Significant Figures -**What are they?** +What are they? Significant Figures are the meaningful digits in a measured or computed value. ## Counting significant figures -**All non-zero digits are significant** +All non-zero digits are significant - 4.357 has 4 significant figures - 152.63 has 5 significant figures -**Zeroes at the beginning of a number are not significant** +Zeroes at the beginning of a number are not significant - 0215 has 3 significant figures - 0.6 has 1 significant figure -**Trailing zeroes in a number with a decimal point are significant** +Trailing zeroes in a number with a decimal point are significant - 78.200 has 5 significant figures - 20.0 has 3 significant figures -**Trailing zeroes in a number without a decimal point are not significant** +Trailing zeroes in a number without a decimal point are not significant - 1200 has 2 significant figures - 345000 has 3 significant figures -**All zeroes between significant figures are significant** +All zeroes between significant figures are significant - 90.09 has 4 significant figures - 5050 has 3 significant figures diff --git a/kyu_7/sort_out_the_men_from_boys/README.md b/kyu_7/sort_out_the_men_from_boys/README.md index 8f99e57650c..3ca04852007 100644 --- a/kyu_7/sort_out_the_men_from_boys/README.md +++ b/kyu_7/sort_out_the_men_from_boys/README.md @@ -45,7 +45,8 @@ from the odds , or **Separate the men from the boys** ### Explanation 3 * Since , `{-282 , 818 , 900 , 928 }` is the even numbers here , So it - came first in ascending order , then the odds in descending order `{ 281 , 49 , -1 }` + came first in ascending order , then the odds in descending order + `{ 281 , 49 , -1 }` * Since , (Duplications are not included when separating) , then you can see only one `(-282)` was appeared in the final array/list .