<commit_before>#Numbers and letters reflection

```Ruby
# disclaimer: how many hours in a calender year vs how many hours in an
#actual year are different. 1 actual year is 8765.81277 hours vs 1 calender #year has 8760 hours.
a = 365 * 24 #hours in a year
b = 366 * 24 #hours in a leap year

puts "There are #{a} hours in a year, #{b} in a leap year. A decade with no leap years has #{a * 60**2 * 10} seconds, but no decade has no leap years so... A decade with 1 leap year has #{(a * 60**2 * 9)+(b * 60**2)} seconds. A decade with 2 leap years has #{(a * 60**2 * 8)+(b * 60**2 *2)} seconds and a decade with 3 leap years has #{(a * 60**2 * 7)+(b * 60**2 * 3)} seconds. "
```
#####Exercises: 
*[Defining Varaiables](https://github.com/frankiebee/phase-0/blob/master/week-4/defining-variables.rb)

*[Simple String](https://github.com/frankiebee/phase-0/blob/master/week-4/simple-string.rb)

*[Basic Math](https://github.com/frankiebee/phase-0/blob/master/week-4/basic-math.rb)

**What does puts do?**

Prints to the console with a new line.

**What is an integer? What is a float?**

Integers are whole numbers and floats are numbers with floating point decimals. So 5 is an integer and 5.0 is a float.

**What is the difference between float and integer division? How would you explain the difference to someone who doesn't know anything about programming?


**How does Ruby handle addition, subtraction, multiplication, and division of numbers?

Symbols:
*```+``` this is for addition
*```-``` this is for subtraction
*```*``` this is for multiplication
*```/``` this is for division
More symbols:
*```**``` this is the symbol for power so if you did 2*2*2*2 you could instead write it 2**4
*```%```  this is a modulo this calculates remainder so x % y would give us the remainder of x after evenly dividing x with y.

**What is the difference between integers and floats?

Integers are whole numbers and floats are numbers with floating point decimals. So 5 is an integer and 5.0 is a float.

**What is the difference between integer and float division?
Division of integers will round down if the the quotient is not wholly divisible. Where a float can be properly divided. For example:
```Ruby
~ 5/2
=> 2
~ 5.0/2.0
=>2.5
```


**What are strings? Why and when would you use them?

Stings are a collection of characters in between quotation marks. You would use them to print to the terminal or display.

**What are local variables? Why and when would you use them?
<commit_msg>Fix markdown syntax<commit_after>#Numbers and letters reflection

```Ruby
# disclaimer: how many hours in a calender year vs how many hours in an
#actual year are different. 1 actual year is 8765.81277 hours vs 1 calender #year has 8760 hours.
a = 365 * 24 #hours in a year
b = 366 * 24 #hours in a leap year

puts "There are #{a} hours in a year, #{b} in a leap year. A decade with no leap years has #{a * 60**2 * 10} seconds, but no decade has no leap years so... A decade with 1 leap year has #{(a * 60**2 * 9)+(b * 60**2)} seconds. A decade with 2 leap years has #{(a * 60**2 * 8)+(b * 60**2 *2)} seconds and a decade with 3 leap years has #{(a * 60**2 * 7)+(b * 60**2 * 3)} seconds. "
```
#####Exercises: 
*[Defining Varaiables](https://github.com/frankiebee/phase-0/blob/master/week-4/defining-variables.rb)

*[Simple String](https://github.com/frankiebee/phase-0/blob/master/week-4/simple-string.rb)

*[Basic Math](https://github.com/frankiebee/phase-0/blob/master/week-4/basic-math.rb)

**What does puts do?**

Prints to the console with a new line.

**What is an integer? What is a float?**

Integers are whole numbers and floats are numbers with floating point decimals. So 5 is an integer and 5.0 is a float.

**What is the difference between float and integer division? How would you explain the difference to someone who doesn't know anything about programming?


**How does Ruby handle addition, subtraction, multiplication, and division of numbers?

Symbols:
*```+``` this is for addition

*```-``` this is for subtraction

*```*``` this is for multiplication

*```/``` this is for division

More symbols:

*```**``` this is the symbol for power so if you did 2*2*2*2 you could instead write it 2**4

*```%```  this is a modulo this calculates remainder so x % y would give us the remainder of x after evenly dividing x with y.

**What is the difference between integers and floats?

Integers are whole numbers and floats are numbers with floating point decimals. So 5 is an integer and 5.0 is a float.

**What is the difference between integer and float division?
Division of integers will round down if the the quotient is not wholly divisible. Where a float can be properly divided. For example:
```Ruby
~ 5/2
=> 2
~ 5.0/2.0
=>2.5
```


**What are strings? Why and when would you use them?

Stings are a collection of characters in between quotation marks. You would use them to print to the terminal or display.

**What are local variables? Why and when would you use them?

{'fraction_non_alphanumeric': 0.11218335343787696, 'fraction_numerical': 0.03337354242058705, 'mean_word_length': 4.0201816347124115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1514207', 'n_tokens_mistral': 1666, 'n_tokens_neox': 1451, 'n_words': 748}