1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Julia

Connected

Exercise

String interpolation

You are writing a script informing students of their grades in their classes.

For each student, you have text data that looks like:

grades = "XXXX"

where the letters "XXXX" are the grades for the student in mathematics, history, science, and drama respectively.

The variable grades, which contains the actual student's grades, is available in your environment.

Instructions 1/3

undefined XP
    1
    2
    3
  • Assign the student's drama grade to the variable drama.