<jupyter_start><jupyter_text>Variables *Suggested Answers follow (usually there are multiple ways to solve a problem in Python).* Create a variable with name "x" and a value of 10. Execute.<jupyter_code>x = 10<jupyter_output><empty_output><jupyter_text>Tell the computer to show you the value of that variable.<jupyter_code>x<jupyter_output><empty_output><jupyter_text>Can you think of a second way to obtain the same result?<jupyter_code>print (x)<jupyter_output>10<jupyter_text>On the same line, create four new variables: a,b,c, and d, that are equal to 10, 20, 30, and 40, respectively.<jupyter_code>a,b,c,d = (10,20,30,40)<jupyter_output><empty_output><jupyter_text>Alternatively:<jupyter_code>a,b,c,d = 10,20,30,40<jupyter_output><empty_output><jupyter_text>Tell the computer to show you the value corresponding to the variable "b".<jupyter_code>b<jupyter_output><empty_output><jupyter_text>Alternatively:<jupyter_code>print (b)<jupyter_output>20<jupyter_text>Do the same for "d".<jupyter_code>d<jupyter_output><empty_output><jupyter_text>Or:<jupyter_code>print (d)<jupyter_output>40
{'fraction_non_alphanumeric': 0.11202938475665748, 'fraction_numerical': 0.031221303948576674, 'mean_word_length': 9.9, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, 'https://': 0, '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}}
{'chain_length': '9', 'dir': 'jupyter-structured-clean-dedup', 'id': '224216', 'license': 'Apache-2.0', 'n_tokens_mistral': 448, 'n_tokens_neox': 412, 'n_words': 90, 'path': '11 - Introduction to Python/2_Python Variables and Data Types/1_Variables (3:41)/Variables - Solution_Py3.ipynb', 'repo_name': 'olayinka04/365-data-science-courses', 'size': '1089'}