Skip to content

Instantly share code, notes, and snippets.

@dealingwith
Last active January 19, 2025 18:33
Show Gist options
  • Select an option

  • Save dealingwith/40c60346b0a0de4e89c9447e21153fde to your computer and use it in GitHub Desktop.

Select an option

Save dealingwith/40c60346b0a0de4e89c9447e21153fde to your computer and use it in GitHub Desktop.
let_go
def let_go
puts "Letting go..."
# prompt for user input
print "Are you sure? (y/n): "
response = gets.chomp.downcase
# check user response
if response == "y"
puts "Okay, goodbye!"
return true
else
puts "Phew! That was close!"
return false
end
end
until let_go
puts "You're not ready to let go yet!"
end
@dealingwith

Copy link
Copy Markdown
Author

I used Copilot which wrote interesting/funny prompts, so that the program represents your ego not wanting you to let go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment