It looks like you're using an Ad Blocker.

Please white-list or disable AboveTopSecret.com in your ad-blocking tool.

Thank you.

 

Some features of ATS will be disabled while you continue to use an ad-blocker.

 

Keep getting an error next to my equal sign in python

page: 2
0
<< 1   >>

log in

join
share:

posted on Sep, 12 2012 @ 08:58 PM
link   
reply to post by Manhater
 


Need the "\t"



posted on Sep, 12 2012 @ 09:02 PM
link   
To answer your next question:

print x
print str(x)+"\t"+str(y)
print str(x)+"\t"+str(y)+"\t"+str(z)
print str(x)+"\t"+str(y)
print x



posted on Sep, 12 2012 @ 09:05 PM
link   
Each number has to occupy one line.

I put the dash, just didn't show up here.
edit on 12-9-2012 by Manhater because: (no reason given)



posted on Sep, 12 2012 @ 09:07 PM
link   
Okay, now that one worked.


scratches head. But I'm not sure if I can put all 3 numbers in one line. I think he wants it a line by itself.



posted on Sep, 12 2012 @ 09:10 PM
link   
reply to post by Manhater
 


If it's one number per line, then why tab at all? It's just pushing white space.



posted on Sep, 12 2012 @ 09:13 PM
link   

Originally posted by GreenGlassDoor
reply to post by Manhater
 


If it's one number per line, then why tab at all? It's just pushing white space.


Isn't that what it's saying? Unless, I'm reading too much into it.

edit on 12-9-2012 by Manhater because: (no reason given)



posted on Sep, 15 2012 @ 03:44 PM
link   
Ha, I figured it out why it wasn't working, I have to stop putting the quotations after the parenthesis. Works now, and I should get a 100.




top topics



 
0
<< 1   >>

log in

join