Skip to content

Instantly share code, notes, and snippets.

@danielpaul
Created September 25, 2019 15:15
Show Gist options
  • Save danielpaul/f8b791cc4672f3cfea9af83c6db5ab9b to your computer and use it in GitHub Desktop.
Save danielpaul/f8b791cc4672f3cfea9af83c6db5ab9b to your computer and use it in GitHub Desktop.
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!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment