<jupyter_start><jupyter_text>if n < 2: return "Neither prime, nor composite"    for i in range(2, int(n**0.5) + 1):        if n % i == 0:            return False    return Truesum = 0for i in range(2, 1000000):    if isPrime(i):        sum += iprint(sum)<jupyter_code>spy = float(input("Enter amount invested in SPY: "))
qqq = float(input("Enter amount invested in QQQ: "))
eem = float(input("Enter amount invested in EEM: "))
vxx = float(input("Enter amount invested in VXX: "))

stock_name_list = ['SPY','QQQ','EEM','VXX']
stock_value_list = [spy,qqq,eem,vxx]
total_stock = sum(stock_list)
stock_per_list = []
stock_by_name = {}

for stock in stock_value_list:
    stock_per_list.append(stock/total_stock)

stock_by_name = dict(zip(stock_name_list,stock_per_list)) 

#Formatting 
print()
print("{:7}{}".format('ETF','PERCENTAGE'))
print("-----------------")
for key, val in stock_by_name.items():
    print("{:s}{:>12.2%}".format(key,val))
print()
print("TOTAL AMOUNT INVESTED: ${:,}".format(total_stock))
change_amount = int(input("Enter amount of change: "))
quater = 25
dime = 10
nikel = 5
cent = 1

list_of_deno_name = ['Quaters','Dimes','Nikels','Cents']
list_of_deno = [quater,dime,nikel,cent]
list_of_change = []
rem_amount = 0
dic_deno = {}

for deno in list_of_deno:
    if rem_amount == 0:
        list_of_change.append(change_amount//deno)
        rem_amount = change_amount%deno
    else:
        list_of_change.append(rem_amount//deno)
        rem_amount %= deno

dic_deno = dict(zip(list_of_deno_name,list_of_change))

for key,val in dic_deno.items():
    print("{:s}: {:d}".format(key,val))<jupyter_output>Enter amount of change: 93
Quaters: 3
Dimes: 1
Nikels: 1
Cents: 3
{'fraction_non_alphanumeric': 0.1646919431279621, 'fraction_numerical': 0.019549763033175356, 'mean_word_length': 4.501628664495114, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '63293', 'license': 'MIT', 'n_tokens_mistral': 690, 'n_tokens_neox': 652, 'n_words': 139, 'path': 'Class Assignments/Assignment3_python_programming.ipynb', 'repo_name': 'harshalkokate/pythonHomeWorks', 'size': '1688'}