<jupyter_start><jupyter_text>Exercise 1Given the current date and dictionary below format the following string to produce custom message:Hello xxx xxx. As of xxx, your current balance is $xxx.<jupyter_code>import datetime
now = datetime.datetime.now()
current_date = now.strftime("%Y-%m-%d")

d = {"first":"John", "last":"Smith", "balance":120.55}
# Your answer goes here
print("Hello {} {}. As of {date}, your current balance is ${}.".format(d["first"], d["last"], d["balance"], 
                                                                       date = current_date))<jupyter_output>Hello <NAME>. As of 2019-02-03, your current balance is $120.55.<jupyter_text>Exercise 2Using `center()`, can you produce a similar output?<jupyter_code>A = 'This is a centered text'
B = 'x = 60'
C = 'E = m c ^ 2'
# Your answer goes here
print(A.center(50))
print(B.center(50))
print(C.center(50))<jupyter_output>This is a centered text              
                      x = 60                      
                   E = m c ^ 2<jupyter_text>Exercise 3In the following string replace "skills" with "experience".<jupyter_code>text = 'Put your skills to use!'
# Your answer goes here
text.replace("skills", "experience")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1305398871877518, 'fraction_numerical': 0.0265914585012087, 'mean_word_length': 3.0324675324675323, 'pattern_counts': {'":': 3, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '91638', 'license': 'MIT', 'n_tokens_mistral': 406, 'n_tokens_neox': 369, 'n_words': 118, 'path': '00-Python-Basics/KEY-Exercise-09-Strings-and-Regular-Expressions.ipynb', 'repo_name': 'nikkiii66/Intro-to-Data-Analytics', 'size': '1245'}