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


Groups > comp.lang.python > #39413 > unrolled thread

Re: i need help

Started byleonardo <tampucciolina@libero.it>
First post2013-02-21 11:18 +0100
Last post2013-02-21 11:18 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: i need help leonardo <tampucciolina@libero.it> - 2013-02-21 11:18 +0100

#39413 — Re: i need help

Fromleonardo <tampucciolina@libero.it>
Date2013-02-21 11:18 +0100
SubjectRe: i need help
Message-ID<mailman.2155.1361441957.2939.python-list@python.org>
thanks, problem solved


Il 21/02/2013 10.13, Chris Angelico ha scritto:
> On Thu, Feb 21, 2013 at 8:09 PM, leonardo <tampucciolina@libero.it> wrote:
>> hi guys,
>>
>> i just created this file:
>>
>> print "i love pizza!"
>> print "pizza" * 20
>> print "yum" * 40
>> print "i'm full."
>>
>> and saved it into a file with "idle-gui", if i try to run the program i get
>> an invalid syntax error, it displays a red sign on the  quote mark at the
>> end of the first row of my program..
>> i checked but i didn't make mistaked..is idle a bit crazy??
> Are you using Python version 3? If so, you need to put parentheses
> around your print arguments, because print is a function:
>
> print("i love pizza!")
> print("pizza" * 20)
> print("yum" * 40)
> print("i'm full.")
>
> As an additional tip, I believe your keyboard has a couple of keys on
> it marked "Shift". Holding one down lets you produce capital letters,
> which make your emails significantly more readable. Get some practice
> with these keys, as you'll use them a lot in programming :)
>
> ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web