Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36508
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <kwakukwatiah@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.052 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'def': 0.10; 'subject:python': 0.11; 'subject:programming': 0.16; 'working.': 0.17; 'input': 0.18; 'math': 0.20; 'import': 0.21; 'expand': 0.26; 'received:209.85.212': 0.28; 'asking': 0.32; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'help': 0.40; 'from:no real name:2**0': 0.60; 'wish': 0.70 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:from:to:subject:date:mime-version :content-type:x-priority:x-msmail-priority:importance:x-mailer :x-mimeole; bh=fIAgbX+kwzY0Pcgmif2OE4kAyR4sg357oWQsP1NjLPE=; b=WMQGjvpUhjlN0xvU5diTrezOGmUgxnupMTTd92WPOVtZM6wonHxsUhEysJq32XK3IY bshjLXbDUZNv1BL6a0flzRAYS66ZAEhTRFVIEN1Akgvr5r+d8cjQKMTeu11wIoRykUDF f5W+w/LtBAL2Q5VN4S7Lmc6p6iWb28r++4h16+vmI6yUVYw7kNFFK/kQS3kAfNndLncP ifRRe+DfDb82qeY9Y2K+Fs0z5Z1IxeJAIK0MvjplPWBSFfTXvU8utIoF3ryhglShMw4H TEfhbl5TrXKNezxPZJccaEgS1i6mQ89nyh9IX/IUcXlNbNxhqyhE6YyjJa1UIajFUOF1 hr3A== |
| X-Received | by 10.194.236.166 with SMTP id uv6mr109554861wjc.34.1357750425159; Wed, 09 Jan 2013 08:53:45 -0800 (PST) |
| From | kwakukwatiah@gmail.com |
| To | <python-list@python.org> |
| Subject | new to python and programming at large. |
| Date | Wed, 9 Jan 2013 16:28:04 -0600 |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="----=_NextPart_000_0012_01CDEE86.4CBDADE0" |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Importance | Normal |
| X-Mailer | Microsoft Windows Live Mail 15.4.3508.1109 |
| X-MimeOLE | Produced By Microsoft MimeOLE V15.4.3508.1109 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.328.1357750432.2939.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357750432 news.xs4all.nl 6887 [2001:888:2000:d::a6]:40434 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:36508 |
Show key headers only | 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 | Next — Next in thread | Find similar | Unroll 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