Homework 0: test
Submission by: Jazzy Doe (jazz@mit.edu)
👀 Reading hidden code
"Jazzy Doe"
"jazz@mit.edu"
NaN
👀 Reading hidden code
student = (name="Jazzy Doe", email="jazz@mit.edu", number=NaN)
syntax: extra token "auto" after end of expression
Don't panic!
👀 Reading hidden code
TODO auto add @mit.edu
👀 Reading hidden code
👀 Reading hidden code
Exercise 1
Give a number larger than 100:
👀 Reading hidden code
60
👀 Reading hidden code
big_number = 60
👀 Reading hidden code
Exercise 2
Write a function that checks whether a number is positive:
👀 Reading hidden code
ispositive (generic function with 1 method)
function ispositive(x)
return x > 20
end
👀 Reading hidden code
👀 Reading hidden code
👀 Reading hidden code
👀 Reading hidden code