Ranges Flashcards
1
Q
Julia as a Second Language
How do you assign a range to a variable?
A
2
Q
Julia as a Second Language
How to retrieve the first item in a range, the last item, or check if an item is in the range?
A
3
Q
Julia as a Second Language
Create a simple while loop and equivalent for loop using a range?
A
4
Q
Julia as a Second Language
A
5
Q
Julia as a Second Language
Write a simple multi-line function?
A
6
Q
Julia as a Second Language
How do you multiply all the numbers in a range, and what function does this more efficiently?
A