Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
04 D 19 H : 09 M : 43 S Apply NowAs part of this exercise, we will learn how to define variables.
Define an immutable (using val
) integer variable my_imx
with value 10.
Define a mutable (using var
) integer variable my_mutx
with value 20.
Let us define a variable of type String with the name myname
and assign it a value "hi".
Press "Shift + Enter" to execute the code in the Jupyter notebook.
Click on "Submit Answer".
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Please login to comment
0 Comments
There are 89 new comments.