<jupyter_start><jupyter_text>Exercise 1Add the specified code for each code cell, running the cells _in order_. Create a variable `food` that stores your favorite kind of food. Print or output the variable.<jupyter_code>food="pizza"
print (food)
restaurant="delancey"
print (restaurant)<jupyter_output>delancey<jupyter_text>Create a variable `restaurant` that stores your favorite place to eat that kind of food.<jupyter_code>print ("i'm going to" ,(restaurant) ,"for some" ,(food))<jupyter_output>i'm going to delancey for some pizza<jupyter_text>Print the message `"I'm going to RESTAURANT for some FOOD"`, replacing the restaurant and food with your variables. Create a variable `num_friends` equal to the number of friends you would like to eat with.<jupyter_code>number_friends=3
print (number_friends)<jupyter_output>3<jupyter_text>Print a message `"I'm going with X friends"`, replacing the X with the number of friends.<jupyter_code>print("I'm going with " + str(number_friends)  +  " friends")<jupyter_output>I'm going with 3 friends<jupyter_text>Create a variable `meal_price`, which is how expensive you think one meal at the restaurant would be. This price should be a `float`.<jupyter_code>meal_price=18.50
print (meal_price)<jupyter_output>18.5<jupyter_text>Update (re-assign) the `meal_price` variable so it includes a 15% tip&mdash;that is, so the price is 15% higher. Output the variable.<jupyter_code>meal_price=18.50 + 18.50*.15
print (meal_price)<jupyter_output>21.275<jupyter_text>Create a variable `total_cost` that has the total estimated cost of the bill for you and all of your friends. Output or print the variable<jupyter_code>total_cost=meal_price * number_friends
print (total_cost)<jupyter_output>63.824999999999996<jupyter_text>Create a variable `budget` representing your spending budget for a night out.<jupyter_code>budget=150
print (budget)<jupyter_output>150<jupyter_text>Create a variable `max_friends`, which is the maximum number of friends you can invite, at the estimated meal price, while staying within your budget. Output or print this value.- Be carefully that you only invite whole people!<jupyter_code>max_friends=(budget)//(meal_price)
print (max_friends)<jupyter_output>7.0<jupyter_text>Bonus: Create a variable `chorus` that is the string `"FOOD time!"` _repeated_ once for each of the friends you are able to bring. _Hint_ use the **`*`** operator. Print out the variable.<jupyter_code>chorus=((food.upper()) + " time!\n") * int (max_friends) 
print (chorus)<jupyter_output>PIZZA time!
PIZZA time!
PIZZA time!
PIZZA time!
PIZZA time!
PIZZA time!
PIZZA time!
{'fraction_non_alphanumeric': 0.09087423312883436, 'fraction_numerical': 0.021088957055214724, 'mean_word_length': 6.718934911242603, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '10', 'dir': 'jupyter-structured-clean-dedup', 'id': '180528', 'license': 'MIT', 'n_tokens_mistral': 911, 'n_tokens_neox': 840, 'n_words': 293, 'path': 'exercise-1/exercise.ipynb', 'repo_name': 'esummerlin/ch4-python-intro', 'size': '2608'}