<jupyter_start><jupyter_text>Q. During the session,Sample data structure were created with 5 elements Populate the list, tuple and dictionary with all state data   State & UT infected data with list<jupyter_code>states_list = ["Maharashtra","Tamil Nadu","Delhi","Gujarat","Uttar Pradesh","West Bengal","Rajasthan","Telengana","Karnataka","Andhra Pradesh","Haryana","Madhya Pradesh","Bihar","Assam","Jammu and Kashmir","Odisha","Punjab","Kerala","Chhattisgarh","Uttarakhand","Jharkhand","Goa","Tripura","Manipur","Himachal Pradesh","Ladakh","Puducherry","Nagaland","Chandigarh","Dadra and Nagar Haveli","Arunachal Pradesh","Mizoram","Andaman and Nicobar","Sikkim","Meghalaya","Lakshadweep"]
infected_list = [186626,98392,92175,33913,24825,19819,18662,18570,18016,16097,15509,14106,10471,9013,7849,7545,5784,4753,3013,2984,2584,1482,1435,1279,1014,990,802,501,450,230,195,162,109,102,56,0]
print("COVID 19 infected victim state-wise in India using List!\n")

for i in range(len(states_list)):
    print(states_list[i],":",infected_list[i])
    
print("")
print("Total number of States & Union-Territory in India: {}\n".format(len(states_list)))
print("Total number of COVID-19 Infected: {}\n".format(sum(infected_list)))<jupyter_output>COVID 19 infected victim state-wise in India using List!

Maharashtra : 186626
Tamil Nadu : 98392
Delhi : 92175
Gujarat : 33913
Uttar Pradesh : 24825
West Bengal : 19819
Rajasthan : 18662
Telengana : 18570
Karnataka : 18016
Andhra Pradesh : 16097
Haryana : 15509
Madhya Pradesh : 14106
Bihar : 10471
Assam : 9013
Jammu and Kashmir : 7849
Odisha : 7545
Punjab : 5784
Kerala : 4753
Chhattisgarh : 3013
Uttarakhand : 2984
Jharkhand : 2584
Goa : 1482
Tripura : 1435
Manipur : 1279
Himachal Pradesh : 1014
Ladakh : 990
Puducherry : 802
Nagaland : 501
Chandigarh : 450
Dadra and Nagar Haveli : 230
Arunachal Pradesh : 195
Mizoram : 162
Andaman and Nicobar : 109
Sikkim : 102
Meghalaya : 56
Lakshadweep : 0

Total number of States & Union-Territory in India: 36

Total number of COVID-19 Infected: 619513<jupyter_text>State & UT infected data with Tuple<jupyter_code>states_tuple = ("Maharashtra","Tamil Nadu","Delhi","Gujarat","Uttar Pradesh","West Bengal","Rajasthan","Telengana","Karnataka","Andhra Pradesh","Haryana","Madhya Pradesh","Bihar","Assam","Jammu and Kashmir","Odisha","Punjab","Kerala","Chhattisgarh","Uttarakhand","Jharkhand","Goa","Tripura","Manipur","Himachal Pradesh","Ladakh","Puducherry","Nagaland","Chandigarh","Dadra and Nagar Haveli","Arunachal Pradesh","Mizoram","Andaman and Nicobar","Sikkim","Meghalaya","Lakshadweep")
infected_tuple = (186626,98392,92175,33913,24825,19819,18662,18570,18016,16097,15509,14106,10471,9013,7849,7545,5784,4753,3013,2984,2584,1482,1435,1279,1014,990,802,501,450,230,195,162,109,102,56,0)
print("COVID 19 infected victim state-wise in India using tuple!\n")

for i in range(len(states_tuple)):
    print(states_tuple[i],":",infected_tuple[i])
    
print("")
print("Total number of States & Union-Territory in India: {}\n".format(len(states_tuple)))
print("Total number of COVID-19 Infected: {}\n".format(sum(infected_tuple)))<jupyter_output>COVID 19 infected victim state-wise in India using tuple!

Maharashtra : 186626
Tamil Nadu : 98392
Delhi : 92175
Gujarat : 33913
Uttar Pradesh : 24825
West Bengal : 19819
Rajasthan : 18662
Telengana : 18570
Karnataka : 18016
Andhra Pradesh : 16097
Haryana : 15509
Madhya Pradesh : 14106
Bihar : 10471
Assam : 9013
Jammu and Kashmir : 7849
Odisha : 7545
Punjab : 5784
Kerala : 4753
Chhattisgarh : 3013
Uttarakhand : 2984
Jharkhand : 2584
Goa : 1482
Tripura : 1435
Manipur : 1279
Himachal Pradesh : 1014
Ladakh : 990
Puducherry : 802
Nagaland : 501
Chandigarh : 450
Dadra and Nagar Haveli : 230
Arunachal Pradesh : 195
Mizoram : 162
Andaman and Nicobar : 109
Sikkim : 102
Meghalaya : 56
Lakshadweep : 0

Total number of States & Union-Territory in India: 36

Total number of COVID-19 Infected: 619513<jupyter_text>State & UT infected data with Dictionary<jupyter_code>data_dict = {"Maharashtra":186626,"Tamil Nadu":98392,"Delhi":92175,"Gujarat":33913,"Uttar Pradesh":24825,"West Bengal":19819,"Rajasthan":18662,"Telengana":18570,"Karnataka":18016,"Andhra Pradesh":16097,"Haryana":15509,"Madhya Pradesh":14106,"Bihar":10471,"Assam":9013,"Jammu and Kashmir":7849,"Odisha":7545,"Punjab":5784,"Kerala":4753,"Chhattisgarh":3013,"Uttarakhand":2984,"Jharkhand":2584,"Goa":1482,"Tripura":1435,"Manipur":1279,"Himachal Pradesh":1014,"Ladakh":990,"Puducherry":802,"Nagaland":501,"Chandigarh":450,"Dadra and Nagar Haveli":230,"Arunachal Pradesh":195,"Mizoram":162,"Andaman and Nicobar":109,"Sikkim":102,"Meghalaya":56,"Lakshadweep":0}
print("COVID 19 infected victim state-wise in India using dictionary!\n")

for i,j in data_dict.items():
    print(i,":",j)
    
print("")
print("Total number of States & Union-Territory in India: {}\n".format(len(data_dict.keys())))
print("Total number of COVID-19 Infected: {}\n".format(sum(data_dict.values())))<jupyter_output>COVID 19 infected victim state-wise in India using dictionary!

Maharashtra : 186626
Tamil Nadu : 98392
Delhi : 92175
Gujarat : 33913
Uttar Pradesh : 24825
West Bengal : 19819
Rajasthan : 18662
Telengana : 18570
Karnataka : 18016
Andhra Pradesh : 16097
Haryana : 15509
Madhya Pradesh : 14106
Bihar : 10471
Assam : 9013
Jammu and Kashmir : 7849
Odisha : 7545
Punjab : 5784
Kerala : 4753
Chhattisgarh : 3013
Uttarakhand : 2984
Jharkhand : 2584
Goa : 1482
Tripura : 1435
Manipur : 1279
Himachal Pradesh : 1014
Ladakh : 990
Puducherry : 802
Nagaland : 501
Chandigarh : 450
Dadra and Nagar Haveli : 230
Arunachal Pradesh : 195
Mizoram : 162
Andaman and Nicobar : 109
Sikkim : 102
Meghalaya : 56
Lakshadweep : 0

Total number of States & Union-Territory in India: 36

Total number of COVID-19 Infected: 619513
{'fraction_non_alphanumeric': 0.13272192420834053, 'fraction_numerical': 0.15798581069389167, 'mean_word_length': 7.2926829268292686, 'pattern_counts': {'":': 39, '<': 10, '<?xml version=': 0, '>': 10, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '445632', 'license': 'MIT', 'n_tokens_mistral': 2986, 'n_tokens_neox': 2183, 'n_words': 497, 'path': 'Take Home Exercise #1.ipynb', 'repo_name': 'shuttle2021/Pandemic-Data-Analysis', 'size': '5779'}