On Tue, 22 Feb 2005, . , wrote:

> like...
> 
> number1 = raw_input(float int("Number1: ")
> 
> But, I think error will occur...

You have some syntax issues here.

What you want, I think, is to use raw_input to get input, and then convert 
that to float.  try this:

number1 = float(raw_input("Number1: "))


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to