def topic_duration_capture(data_dict: dict):
  """
  Gets the choice of practice from user along with minutes the user wants to
  practice

  :param data_dict:
  :return: dict | modified data_dict
  """

  topic_duration_keeper = dict()
  for key in data_dict.keys():
    choice = input(f"\n'{key.upper()}' -- wanna practice right now? "
                   f"Press 'y' + Enter for yes, else Enter: ")
    if choice:
      while True:
        try:
          topic_duration_keeper[key] = int(input("Enter time in minutes for "
                                                 f"practicing {key}). "))
          break
        except:
          print("Please enter time in minutes i.e. a number.")
  return topic_duration_keeper