# variable of type string
print("What medicine do people use when they are sick?")
name = "Anti-biotics"
print("name", name, type(name))

print()


# variable of type integer
print("How do you know which person got the illness first?")
answer = "You know if the person has a lot of antigens in their system. it means they were fighting the disease longer."
print("answer", answer, type(answer))

print()

# variable of type float
print("What is my ideal score in any class?")
score = 90.0
print("score", score, type(score))

print()

# variable of type list (many values in one variable)
print("There are many types of antibiotics.")
print("What are the names of some of them?")
pills = ["amoxicillin", "Penicillin", "cephalexin"]
print("pills", pills, type(pills), "length", len(pills))
print("- pills[0]", pills[0], type(pills[0]))

print()

# variable of type dictionary (a group of keys and values)
print("What is the variable name/key?", "value?", "type?", "primitive or collection, why?")
print("What is different about the dictionary output?")
questions_and_answers = {
    "name": name,
    "answer": answer,
    "score": score,
    "pills": pills
}
print("Question and answers", questions_and_answers, type(questions_and_answers), "length", len(questions_and_answers))
print('- questions and answers["name"]', questions_and_answers["name"], type(questions_and_answers["name"]))
What medicine do people use when they are sick?
name Anti-biotics <class 'str'>

How do you know which person got the illness first?
answer You know if the person has a lot of antigens in their system. it means they were fighting the disease longer. <class 'str'>

What is my ideal score in any class?
score 90.0 <class 'float'>

There are many types of antibiotics.
What are the names of some of them?
pills ['amoxicillin', 'Penicillin', 'cephalexin'] <class 'list'> length 3
- pills[0] amoxicillin <class 'str'>

What is the variable name/key? value? type? primitive or collection, why?
What is different about the dictionary output?
Question and answers {'name': 'Anti-biotics', 'answer': 'You know if the person has a lot of antigens in their system. it means they were fighting the disease longer.', 'score': 90.0, 'pills': ['amoxicillin', 'Penicillin', 'cephalexin']} <class 'dict'> length 4
- questions and answers["name"] Anti-biotics <class 'str'>