3 ms·
Here’s the python ChatGPT-4 produced and ran with the title prompt: # Number of elephants total_elephants = 10 # Elephants with legs elephants_with_legs = tot
by block_dagger 3y ago
Here’s the python ChatGPT-4 produced and ran with the title prompt:
# Number of elephants
total_elephants = 10
# Elephants with legs
elephants_with_legs = total_elephants - 2
# Number of legs for an elephant
legs_per_elephant = 4
# Total legs
total_legs = elephants_with_legs * legs_per_elephant
total_legs
Its actual response was correct.
- insanitybit 3y agoYeah, ChatGPT gave me the correct answer without even needing Python in the case of the title.
- edanm 3y agoInteresting, I copied the text into gpt 4 and it did run python as well.
- londons_explore 3y agoRemembering that the correct answer is 40 because 'legless' is slang for 'drunk'?
- TheCleric 3y agoIs that regional? I’ve never heard that euphemism.
- pvorb 3y agoCalling a drunk person legless is hardly an euphemism.
- londons_explore 3y agoIt is commonly used in British English. In fact, there is a famous comedy sketch about it that also uses the word 'caravaned'