Danny Yoo schrieb: > > >>How do I do cubic (and higher) roots ... >> > >I think you're looking for the '**' operator. Like addition and >multiplication, it can take in two numbers. > >########## > > >>>>2 ** 2 >>>> >>>> >4 > > And they also can be floating point numbers
>>> 2 ** 0.5 1.4142135623730951 >>> 2 **(1.0/3) 1.2599210498948732 >>> 1.2599210498948732**3 2.0 :-) gregor _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor