Skip to content

Commit

Permalink
add 3rd exercise for values; char vs. string
Browse files Browse the repository at this point in the history
  • Loading branch information
GoNZooo committed May 19, 2021
1 parent 81cdd0b commit 93b4185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basics/01-values-and-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ helloThere = "Ехо... Генерал Кеноби"
2. Define a value with the type `String` and the value `['h', 'e', 'l', 'l', 'o']`, then a value
with the type `String` and the value `"hello"`. Why do both of these work?

3. Define a value with the type `String` and the value `'hello'`. What happens and why do you think
that is?

## Functions

Functions are written much like values, but have arrows in their type. The types, starting at the
Expand Down

0 comments on commit 93b4185

Please sign in to comment.