-
Notifications
You must be signed in to change notification settings - Fork 0
/
28.rb
18 lines (12 loc) · 730 Bytes
/
28.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# There are a lot of operators in Ruby similar to != and ==. Try to find as many "equality operators" as you can. They should be like < or <=.
# Write out the names of each of these equality operators. For example, I call != "not equal."
# ans 1 and 2
# != not equal
# >= greater-than-equal
# <= less-than-equal
# == equal
# Play with Ruby by typing out new Boolean operators, and before you press Enter try to shout out what it is. Do not think about it. Shout the first thing that comes to mind. Write it down, then press Enter, and keep track of how many you get right and wrong.
# true
# false
# Throw away the piece of paper from 3 so you do not accidentally try to use it later.
# explain this