Un Known
@emilian1000000
I am a world traveler. My hobbies are playing violin, playing chess, and of course, coding.
This program is coded differently and works a little different than my original calculator Mega Calculator.
https://repl.it/@emilian1000000/Different-
bradenrueter this is pretty inefficient. you could compact it a lot by taking two inputs and then using those in all your if statements. You also don't have to make the functions this way.5 years ago
Calculates volume, surface area, area, perimeter and circumference.
https://repl.it/@emilian1000000/Volume-Area-and-Perimeter-Calculator
Converts temperature exactly \(kind of obvious\).
https://repl.it/@emilian1000000/Exact-Temperature-Converter
Converts Base-10 to Base-2 and Base-2 to Base-10. https://repl.it/@emilian1000000/Base-10Base-2-Converter
Converts fractions into decimals and decimals into fractions. https://repl.it/@emilian1000000/FractionDecimal-Converter
My first REPL. The program generates word problems, and you have to try and solve them. https://repl.it/@emilian1000000/MAD-Word-Problem-Generator
Calculator that calculates a lot of things. https://repl.it/@emilian1000000/Mega-Calculator
Smillyone i know im 3 years late, but you could use: numericconstpattern = '[+]? (?: (?: \d* \. \d+ ) | (?: -?\d+ \.? ) )(?: [xyXY(),] [+]? \d+ ) ?'
rx = re.compile(numericconstpattern, re.VERBOSE) num = rx.findall(problem)
a, b = num[0], num[1] to find the values as I've found that simply throwing an accidental letter in there breaks the whole program. You could also modify numericconstpattern so it could be used to find numbers for the average. Finally, I wanted to add that you could use a switch statem2 years ago
Test your knowledge of several subjects. Choose a subject, then try to answer the questions correctly and earn points! https://repl.it/@emilian1000000