HTOTM: FUSION
Hmm for calculator it is better to use C#..
Also do you know to teach After effects or Vegas I am willing to learn..
|Serbian|#BlameTheAnimal|RIP Zizhi and Beenyxd|LaG<33|[TA]|[OoT]
[SIGPIC][/SIGPIC]

I'd try this but it'd be pointless..i'm on a shitty Asus laptop..my other one is being fixed , so until then i guess :/.
Nigma Disconnected
Quit Game.
There is 4 offical languages.. C++, Delphi, Paskal,C# others can't be actually called languages.. Also not sure those i said are written like that :>
|Serbian|#BlameTheAnimal|RIP Zizhi and Beenyxd|LaG<33|[TA]|[OoT]
[SIGPIC][/SIGPIC]

They can be called languages.
Atleast, they could, those are the official ones as you said, wich doesn't mean the others aren't languages.
-----
Made this, the first one to explain me every bit of it will get a teacher position with the org we're linked to:


Python code:
import os
from math import sqrt
import math
print("Hello, this is Danpain's simple math pack v.02")
ch = input("Calculator | Sqrt | Count:\n")
ch = ch.lower()
if ch == "calculator":
choose1 = input("multiply, divide, add, subtract:\n")
if choose1 == "multiply":
ma = input("Number a:\n")
mb = input("Number b:\n")
msol = int(ma) * int(mb)
print (msol)
if choose1 == "divide":
da = input("Number a:\n")
db = input("Number b:\n")
dsol = int(da) / int(db)
print (dsol)
if choose1 == "add":
aa = input("Number a:\n")
ab = input("Number b:\n")
asol = int(aa) + int(ab)
print (asol)
if choose1 == "subtract":
sa = input("Number a:\n")
sb = input("Number b:\n")
ssol = int(sa) - int(sb)
print ("The result is:" + ssol)
os.system('cls')
if ch == "sqrt":
sqn= input("Number:\n")
sqn = int(sqn)
print (sqrt(sqn))
os.system('cls')
if ch == "count":
howmuch = input("How much to Count?:\n")
howmuch = int(howmuch)
nm = 0
while (nm < howmuch + 1):
print (nm)
nm = nm + 1
if (nm > howmuch):
print("Finished")
os.system('cls')
Last edited by Danpain; May 13, 2013 at 04:29 AM. Reason: <24 hour edit/bump
Sorry for intruding, but honestly I would start learning programming on java or c++ as they are quite the mainstream now and if you learn one of them you can easily move to all of the other ones. They are not as complex as it may seem at first glance, or at least they have not been for me. I managed to learn some basic c++ in 5th grade (I was 12 then). Migrating to java has been fairily easy as well, as there are lots of tutorials and guides on the Internet and the syntax is pretty close to c++. That's just my opinion on it though(and I'm not that much of a programmer myself, just been doing it as a hobby).

Anyway I wish you good luck with this. Learning any language is a great thing. It's nice to see more people getting interested in programming.
Last edited by vladvlad; May 13, 2013 at 04:53 AM.
Proud member of [Pandora]
You are using If command to add ,multiply,divide ,hard to explain but i got all that shit since it would be similar to C#...
You should get your sentence at begining and (name your number 1, and 2 ) with *-+/....
|Serbian|#BlameTheAnimal|RIP Zizhi and Beenyxd|LaG<33|[TA]|[OoT]
[SIGPIC][/SIGPIC]

Hm, it can actually be done...easily...with string.lenght() and string[0:4]etc...
I'll take another look at it.