Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'root': 0.04; 'compute': 0.09; 'def': 0.10; 'subject:python': 0.11; 'subject:programming': 0.16; 'math': 0.20; 'import': 0.21; 'help.': 0.22; 'function': 0.30; 'print': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:74.125': 0.36; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.60 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=YZyieEZwolEuewMKmcVntoFF/0TXM+75/OuBjdQvZbU=; b=x/PNZIjELPoFPZbj9AzqLicg/v6Ma8b7F7KB1xZmBWJHSscvp/PMXstuSOx97KY2aq Kg6gIRhZGQCXWQAKD8s8iS99Mcsl0wOdJjzrAkPfCnjSXCri2i+bMCaD1BnKFK8GL16N 0JJHPN2WEVsggy7ZeKBCS1li02qwmanUbCJOHO1e9894kA77aBztc4bQPcKSKDUdYppo k2yqaLnRJzqHIQwwAYB3XXJUceoq/FWLUE8A7Ak1qDAzjPTNe951yTULtoM/Ja/y5Ejd srUw0O0TZFirn2zm4yNlGJyy5gejxb5sPOGtstLV/MGOlK9BA43NNo8wTF+wllA70w+z dueQ== X-Received: by 10.14.223.200 with SMTP id v48mr183393530eep.24.1357743873471; Wed, 09 Jan 2013 07:04:33 -0800 (PST) From: kwakukwatiah@gmail.com To: Subject: new to python and programming at large Date: Wed, 9 Jan 2013 15:03:16 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01CDEE7A.74685DB0" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357743881 news.xs4all.nl 6953 [2001:888:2000:d::a6]:47127 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36493 This is a multi-part message in MIME format. ------=_NextPart_000_001F_01CDEE7A.74685DB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable pls I want to write a function that can compute for the sqrt root of = any number.bt it not working pls help. from math import sqrt def squareroot(self): x =3D sqrt(y) print x ------=_NextPart_000_001F_01CDEE7A.74685DB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
pls  I want to write a function that can compute for the sqrt = root of=20 any number.bt it not working pls help.
from math import sqrt
def squareroot(self):
    x =3D sqrt(y)
    print=20 x
------=_NextPart_000_001F_01CDEE7A.74685DB0--