๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #27647

Re: "print" do zmiennej string

#27647
From: Jacek Czerwinski
Date: Tue, 24 Aug 2010 12:19
16 lines
1271 bytes
W dniu 2010-08-24 13:49, Mariusz Kruk pisze:
> epsilon$ while read LINE; do echo \>"$LINE"; done<  "max"
>> # poczatek
>> str1 = "test str"
>> print(str1)
>> str2 = print(str1)
>> print(str2)
>> # koniec
>>
>>
>> Dlaczego funkcja print nie zwraca wartoล›ci ?
>
> Bo tak ma.

Sporo juz nie obcowalem z formalizmem Pythona, czy 'print' to na pewno 
funkcja?
Technical Details
Message-ID: <i50dcj$8r4$2@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
References: <i509he$aas$1@portraits.wsisiz.edu.pl> <slrni77cev.na5.Mariusz.Kruk@epsilon.rdc.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: Jacek Czerwinski <x@y.z.pl>
Newsgroups: pl.comp.lang.python
Subject: Re: "print" do zmiennej string
Date: Tue, 24 Aug 2010 14:19:32 +0200
Organization: http://onet.pl
Lines: 16
Message-ID: <i50dcj$8r4$2@news.onet.pl>
References: <i509he$aas$1@portraits.wsisiz.edu.pl> <slrni77cev.na5.Mariusz.Kruk@epsilon.rdc.pl>
NNTP-Posting-Host: 77-254-138-91.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1282652371 9060 77.254.138.91 (24 Aug 2010 12:19:31 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Tue, 24 Aug 2010 12:19:31 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
In-Reply-To: <slrni77cev.na5.Mariusz.Kruk@epsilon.rdc.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit