## 1. Data Science and Python ##

23 + 7


## 2. The print() Command ##

print(30 + 10 + 40)
print(4)
print(-3)

## 4. Computer Programs ##

print(34 + 16)
print(34)
print(-34)

## 6. Arithmetical Operations ##

print(16 * 10)
print(48 / 5)
print(5 ** 3)

## 7. Variables ##

a_value = 15
a_result = (5 + 7) - 2
print(a_value)
print(a_result + 12)
print(a_value + a_result)

## 8. Variable Names ##

old_income = 34000
new_income = 40000

## 9. Updating Variables ##

variable_1 = 20
variable_2 = 20
variable_2 += 10
variable_1 *= 4
print(variable_1)
print(variable_2)


## 10. Integers and Floats ##

variable_1 = 10
variable_2 = 2.5

variable_1 += 6.5
variable_2 *= 2

print(variable_1)
print(variable_2)

## 11. Conversion Between Types ##

variable_a = 13.9
variable_b = 2.8

variable_a = round(variable_a)
variable_b = int(variable_b)

print(variable_a)
print(variable_b)

## 12. Strings ##

app_name = "Pandora - Music & Radio"

average_rating = "4.0"
total_ratings = "1724546"
price = "free"
print(app_name)


## 13. Escaping Special Characters ##

motto = "Facebook\'s new motto is \"move fast with stable infra\"."

print(motto)

## 14. String Operations ##

facebook = "Facebook's rating is "

fb_rating = 3.5

fb_rating_str = str(fb_rating)

fb = facebook + fb_rating_str
print(fb)