Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36508

new to python and programming at large.

From kwakukwatiah@gmail.com
Subject new to python and programming at large.
Date 2013-01-09 16:28 -0600
Newsgroups comp.lang.python
Message-ID <mailman.328.1357750432.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

thanks for ur help I wz able to do it.but I wish to expand it by asking a user to input a number for the sqrt to be calculated it I dd it this way but its not working.


from math import sqrt
number = raw_input('enter a number:')
def number(y):
    return number(Y)


thnx

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

new to python and programming at large. kwakukwatiah@gmail.com - 2013-01-09 16:28 -0600
  Re: new to python and programming at large. John Gordon <gordon@panix.com> - 2013-01-09 17:43 +0000

csiph-web