<jupyter_start><jupyter_text>**Download** (right-click, save target as ...) this page as a jupyterlab notebook from:[Laboratory 3 - TH](http://5172.16.17.32/engr-1330-webroot/8-Labs/Lab03/Lab03-TH.ipynb)___  Exercise Set 3: Expressions and Problem Solving **LAST NAME, FIRST NAME****R00000000**ENGR 1330 ES-3 - Homework<jupyter_code># Preamble script block to identify host, user, and kernel
import sys
! hostname
! whoami
print(sys.executable)
print(sys.version)
print(sys.version_info)<jupyter_output>atomickitty
sensei
/opt/jupyterhub/bin/python3
3.8.10 (default, Nov 26 2021, 20:14:08) 
[GCC 9.3.0]
sys.version_info(major=3, minor=8, micro=10, releaselevel='final', serial=0)<jupyter_text>Exercise 1: Odd/EvenDepending on whether the number is even or odd, print out an appropriate message to the user. Use the following cases to test your script:- Case 1: `number=33`- Case 2: `number=44`Bonus(Optional):- If the number is a multiple of 4, print out a different message.- Supply two numbers: one number to check (call it `num`) and one number to divide by (`check`). If check divides evenly into num, tell that to the user. If not, print a different appropriate message.<jupyter_code># put your Case 1 code here
# put your Case 2 code here<jupyter_output><empty_output><jupyter_text>___ Exercise 2: Number Manipulation Create a script that accepts an integer (n) as input and computes the value of n+nn+nnn. For example for an input value of n = 5 the required result is 615 obtained from 5+55+555Use the following cases to test your script:- Case 1: `n=1`- Case 2: `n=6`Bonus(Optional):- Modify the script to accept multi-digit values, and test with `n=33`<jupyter_code># put your Case 1 code here
# put your Case 2 code here<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10278250993753549, 'fraction_numerical': 0.04997160704145372, 'mean_word_length': 5.24822695035461, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '651031', 'license': 'CC0-1.0', 'n_tokens_mistral': 642, 'n_tokens_neox': 564, 'n_words': 224, 'path': '8-Labs/Lab03/Lab03-TH.ipynb', 'repo_name': 'dustykat/engr-1330-psuedo-course', 'size': '1760'}