Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left

03 D 20 H : 09 M : 21 S   Apply Now

Scala

You are currently auditing this course.
15 / 53

Scala - Assessment - Declare a variable for city

Let's try to define another variable.

Declare a variable named state whose value is "New York". Note that this is a multi-character string so this variable will be a string, not a character.

Do this in Jupyter Notebook on the right-hand side tab and submit the answer.

INSTRUCTIONS
  • Switch to Jupyter tab.

  • Write the code in Jupyter.

  • Press Shift+Enter.

  • Click on "Submit Answer".

See Answer

No hints are availble for this assesment

Please login to comment

0 Comments

There are 43 new comments.