Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

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.

  • Switch to Jupyter tab.

  • Write the code in Jupyter.

  • Press Shift+Enter.

  • Click on "Submit Answer".

No hints are availble for this assesment

Answer is not availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...