Julia language Basics cheat sheet

String Theory! :Use ” or “”” for strings and ‘ for characters. println(“Hello, my name is $name.”) println(“That is $(num_fingers + num_toes) digits in all!!”)string(“I don’t know, but “, 😺, ” is too few.”)s3*s4 To handle errors:@assert *condition* “Error message” Tuple: myfavoriteanimals = (“penguins”, “cats”, “sugargliders”)myfavoriteanimals[1]You cannot do this: myfavoriteanimals[1] = “otters” Named Tuple: myfavoriteanimals =… Continue reading Julia language Basics cheat sheet