<jupyter_start><jupyter_text>Homework 1 **Instructions:** Complete the notebook below. Download the completed notebook in HTML format. Upload assignment using Canvas.**Due:** Jan. 16 at **12:30pm.**  Exercise: StringsFollow the instructions in the following cells.<jupyter_code># (a) Create a variable called `city` that equals `irVinE`. Print the value of city.


# (b) Use the string method `title` print the value of `city` with the first letter capitalized.

# (c) Use the string method `upper` to print the value of `city` in all caps.

# (d) Use the string method `swapcase` to print the value of `city` with upper- and lowercase letters reversed.

# (e) Use the string method `replace` to print the value of `city` `i`s replaced by `a`s.

# (f) Create a new variable called `state` equal to `CA`. Use `city` and `state` (and the `title` method) 
#     to print `Irvine, CA`.


# (g) Use string methods `join` and `title` to combine city` and `state` into `Irvine, CA` and print.<jupyter_output><empty_output><jupyter_text>Exercise: MathFollow the instructions in the following cells.<jupyter_code># (a) Import the math module

# (b) Print the cube root of 2

# (c) Print the sine of 3*pi/2

# (d) Which is bigger? e^pi or pi^e. Show how you know.<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11067809820732658, 'fraction_numerical': 0.00779423226812159, 'mean_word_length': 4.558441558441558, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '299125', 'license': 'MIT', 'n_tokens_mistral': 418, 'n_tokens_neox': 402, 'n_words': 184, 'path': 'Homework/Econ126_Winter2020_Homework_01_blank.ipynb', 'repo_name': 't-hdd/econ126', 'size': '1283'}