Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- puts 'Hello World!'
- greeting = 'Good morning!'
- puts greeting
- forecast = "rainy" # string
- temperature = 32 # number
- is_summer = true # boolean
- # overwrite the existing value with a new one
- forecast = "sunny"
- print "It's going to be #{forecast}, #{temperature} degrees outside today. "
- # output to the same line.
- print 'It\'s going to be a great day!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement