gpt-4-0125-preview· OpenAI
WildChat-4.8M (AI2)
Write an example lua script
- User
Write an example lua script
- Assistant
Sure, here's a simple Lua script example that demonstrates how to perform some basic tasks: reading input from the user, performing calculations, and printing results. This script will ask the user to enter two numbers, then calculate and display the sum, difference, product, and quotient of those numbers.
lua