L

@LuaLearner040706

Pythagorean therom V2

Lua
3 years ago
-- localization print("What is A?") local A = io.read("*line") print("What is B?") local B = io.read("*line") print("What is C?") local C = io.read("*line") print("") -- Variable outputs print("A = " .. A)

Multiple calculator

Lua
3 years ago
print('what numbers do you want to use') local A = io.read("*line") local B = io.read("*line") print('which calculator do you want to use') print('addition, or multiplier') -- user input local answer = io.read("*line") -- if statements if answer ==

For Leo!

Lua
3 years ago
local leo = "OMG LEO! HAPPY BIRTHDAY" print("Are you Oli?") local answer = io.read("*line") if answer == nil then print("No answer provided") else print("Input = " .. answer)

Number handler

Lua
3 years ago
Number = 1000 RealValue = Number if Number == (10^3) then Number = '1k' elseif Number == (10^6) then Number = '1m' elseif Number == (10^9) then

Star Calculator

Lua
3 years ago
-- Hello! -- If you are unfamiliar with code, all you need to do is change the values of variables then press run -- example : a = [insert value here] -- then press run. -- -- DM Shootthecreeperrr#4586 for help -- --

Luck Calculator

Lua
3 years ago
-- Hello! -- If you are unfamiliar with code, all you need to do is change the values of variables then press run -- example : a = [insert value here] -- then press run. -- -- DM Shootthecreeperrr#4586 for help -- --

Sunnys annoying quesitons

Lua
3 years ago
-- 653 + 11 + 87x | Reference print('Solve for x in the following equation : 653 + 11 + 87x ') print() a = 653 b = 11 x = 87 c = '87x' Add = (a + b) Ans1 = (-1 * Add) AnsRL = (x / Ans1)

COnversation

Lua
3 years ago
text = 'Heyy' print(text) if text == 'Hello' or text == 'hello' or text == 'Hi' or text == 'hi' then print("Hello! How are you?") end if text == 'Heyy' or text == 'heyy' then print('STFU') end

Circle

Lua
3 years ago
-- find circumfrance #1: print('What is the circumfrance of a circle whos radius 5ft^2?') print('') pi = math.pi radius = 5 r = radius diameter = (r * 2) d = diameter circumfrance = (d * pi) c = circumfrance

Mix of questions IDK

Lua
3 years ago
a = 9 b = 10 ANS = 9 + 10 print('Answers And Work :') print('') print('The Answer To Question #1 is...') print('') print('9', '+', '10', '=', 'x') print('', ANS, '=', 'x') -- question 2 cuz sunny hates me

Pythagorium theorum

Lua
3 years ago
-- Pythagori Therum Caculator / Work Shower -- Unknown value of A b1 = 2 c1 = 4 AnsB = b1^2 AnsC = c1^2 AnsBC = AnsC - AnsB AnsRL = (math.sqrt(AnsBC)) print('The Solution Of Equation #1 Is...') -- show of work of (A)