My first blog post |
Date | ||
|---|---|---|---|
| Author | @asyncze | ||
Hello and welcome to my new blog. This is what a link looks like.
-- Comment
local PI = 3.14159
local function calculateArea(radius)
if radius <= 0 then
error("Radius must be greater than zero")
end
return PI * radius * radius
end
local numbers = {1, 2, 3, 4, 5}
for i = 1, #numbers do
print("Number:", numbers[i])
end
Here's a list of things to do:
| 1 | One |
| 2 | Two |
Write something else here.
class Class:
"""
Docstring
"""
def __init__(self, istrue, text):
self.istrue = istrue
self.text = text
def __str__(self):
return f"{self.text}"
Updated on Apr 11, 2025: Added some code examples.