<jupyter_start><jupyter_text>1-Developing the Dictionary<jupyter_code>students = {} #students is an empty dictionary<jupyter_output><empty_output><jupyter_text>2-Define the Variables id<jupyter_code>id=input('Enter the student id: ')<jupyter_output><empty_output><jupyter_text>name<jupyter_code>name=input('Enter the student name: ')<jupyter_output><empty_output><jupyter_text>age (with check)<jupyter_code>age = '' #empty variable
while type(age) is str: #if the age is still string, it means we couldn't convert it to integer as a result of invalid input by the user
  try: #to catch if there is an error when converting the input to integer
    age = input('Enter the student age: ')
    age = int(age) #convert string to int
  except ValueError: #if an error found
    print('Please provide a valid age')<jupyter_output>Enter the student age: as
Please provide a valid age
Enter the student age: 15<jupyter_text>phone number<jupyter_code>phone_number=input('Enter the student phone number: ')<jupyter_output><empty_output><jupyter_text>3-Assign  the Data to the Dictionary<jupyter_code>students[id]={'name':name, 'age':age, 'phone number':phone_number}<jupyter_output><empty_output><jupyter_text>4-Print the Student Data (line by line)<jupyter_code>for key, value in students[id].items():
    print(key, ':', value)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10822831727205337, 'fraction_numerical': 0.004447739065974796, 'mean_word_length': 7.4375, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '462432', 'license': 'MIT', 'n_tokens_mistral': 454, 'n_tokens_neox': 443, 'n_words': 126, 'path': 'Karrar/Quizes/1.ipynb', 'repo_name': 'karrarfalih/the-khana', 'size': '1349'}