The Second Post on Page 30 Wins :)

  • Christian Chat is a moderated online Christian community allowing Christians around the world to fellowship with each other in real time chat via webcam, voice, and text, with the Christian Chat app. You can also start or participate in a Bible-based discussion here in the Christian Chat Forums, where members can also share with each other their own videos, pictures, or favorite Christian music.

    If you are a Christian and need encouragement and fellowship, we're here for you! If you are not a Christian but interested in knowing more about Jesus our Lord, you're also welcome! Want to know what the Bible says, and how you can apply it to your life? Join us!

    To make new Christian friends now around the world, click here to join Christian Chat.
W

wwjd_kilden

Guest
def menu():
print ('Welcome to the calulator')
print ('your options are: ')
print ('" "')
print ('1) Addition ')
print ('2) Subtraction ')
print ('3) Multiplication ')
print ('4) Division ')
print ('5) Quit calculator ')
print ("")
return input ("Choose your option: ")

def add (a, b):
print (a, '+', b, '=' , (a + b))
def sub (a, b):
print (a, '-', b, '=', (a - b))
def mul(a, b):
print (a, '*', b, '=', (a * b))
def div (a, b):
print (a, '/', b, '=', (a / b))

loop = 1
choice = 0
while loop == 1:
choice = menu()
if choice == 1:
add(input("Add this: ", input("to this: "))
elif choice == 2:
sub(input("Subtract this: ", input ("from this: "))
elif choice == 3:
mul(input("Multiply this: ", input ("by this: "))
elif choice == 4:
div(input("Divide this: ", input ("by this: "))
elif choice == 5:
loop = 0
print ('Welcome back')
 
C

Cako53

Guest
I am hoping you wont catch up to me! that is the plan. Oh and my birthday is in march.
 
W

wwjd_kilden

Guest
I'll never be able to catch up with you now that christmas and school stuff and everything is coming up
 

AlaynaJ

Moderator
Staff member
Dec 15, 1999
8,339
24
38
Lol. Caleb isn't mean, he's just a bratty teenager... It's just what they do.
 
C

christiancollegegirl

Guest
He's 15. That should ezplain a few things.
 
W

wwjd_kilden

Guest
hmm... yeah...............
 
C

christiancollegegirl

Guest
my brother is 17. He's a good kid, but still has a lot of growing up to do.
 
C

christiancollegegirl

Guest
What am I saying? I still have some growing up to do.
 
W

wwjd_kilden

Guest
sure, but we are old enough to talk about "the kids" anyways...
A guy on TV said something about iy "being allowed to be dressed like that back thgen" talking about a reporter from the mid 80s... so apparently I am very old :p
 
C

christiancollegegirl

Guest
nah, you're not old. I'm right behind you.
 
W

wwjd_kilden

Guest
hehe. Good... I don't want to be old quite yet
 
C

Cako53

Guest
wow! I better not go away for a weekend again. Astrid almost past me! phew, that was a close call. And I am so not a brat!
 
C

christiancollegegirl

Guest
LOL! Hey Caleb, good ta see ya!
 
C

Cako53

Guest
good to see you to Estrella! It feels like years since I have been on, lol. Weekends can really drag out :p
 
C

christiancollegegirl

Guest
yeah, some weekends feel more like a week!
 
C

Cako53

Guest
Now this weekend is ending and I really don't want it to. I should probably go do my homework.
 
C

christiancollegegirl

Guest
Oh look, page 28.