adding ex6
This commit is contained in:
parent
593c16025c
commit
67b1aff3bc
20
ex6.rb
Normal file
20
ex6.rb
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
x = "There are #{10} types of people."
|
||||||
|
binary = "binary"
|
||||||
|
do_not = "don't"
|
||||||
|
y = "Those who know #{binary} and those who #{do_not}."
|
||||||
|
|
||||||
|
puts x
|
||||||
|
puts y
|
||||||
|
|
||||||
|
puts "I said: #{x}"
|
||||||
|
puts "I also said: '#{y}'."
|
||||||
|
|
||||||
|
hilarious = false
|
||||||
|
joke_evaluation = "Isn't that joke so funny?! #{hilarious}"
|
||||||
|
|
||||||
|
puts joke_evaluation
|
||||||
|
|
||||||
|
w = "This is the left side of..."
|
||||||
|
e = "a string with a right side."
|
||||||
|
|
||||||
|
puts w + e
|
Loading…
Reference in New Issue
Block a user