Guest User

Untitled

a guest
Mar 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. mixedTypes
  2. w "1" + 1,! ; output: 2 - "1" is equal to 1.
  3. w 1 + "bread",! ; output: 1 - "bread" starts with a letter, so it equals 0.
  4. w 5 * "2 eggs",! ; output: 10 - "2 eggs" starts with "2", so it equals 2
  5. w "milk: 1 gallon" * 2,! ; output: 0 - the string starts with a letter, so it equals 0.
  6. q
Add Comment
Please, Sign In to add comment