tgghaus.com
tgghaus.com
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Combat PA Forums
 General Chit Chat
 anyone know how to program in python?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   
   

T O P I C    R E V I E W
Andrid Posted - 03/27/2003 : 20:55:04
if you do can you help me with this program... it's supposed to average some numbers... thanks for your time

x="first"
sum=0.0
g=0
while x=!"end":
x=input("what are the numbers? type end when done")
b=float(x)
sum=sum+b
g=g+1
def avg(sum,g):return sum/g
print avg(sum,g)
b=input("type anything to end")

1   L A T E S T    R E P L I E S    (Newest First)
Impact4ever Posted - 04/01/2003 : 21:19:16
Nope! not me

"Just because your a genius doesn't make you a smart guy"

tgghaus.com © 2009 Integral Corporation Go To Top Of Page
Snitz Forums 2000