Forum

Poll

12 Years of Skylanders, Have You Played Any?
View Results
darkSpyro - Spyro and Skylanders Forum > Stuff and Nonsense > Okay, Programming Suddenly Became a *****
Page 1 of 1
Okay, Programming Suddenly Became a ***** [CLOSED]
DS D Yellow Sparx Gems: 1565
#1 Posted: 01:32:30 08/10/2015 | Topic Creator
So, I just started my computer science homework yesterday, and somehow, I convert the result of an algebraic expression into a string, and justify it so it makes a 6-space cell of itself, but then the program says "AttributeError: 'int' object has no attribute 'ljust'." WTF, PYTHON?!?! I put the damn thing as a string so you didn't have to read the thing as an integer and return that error! FFFFAAAA--

Code:
Traceback (most recent call last):
     Page "http://forum.darkspyro.net/spyro/detail.php?post=5780914", line 1
NameError: name 'comedian' is not defined
---
Yo, DEADASS?? BANANAS ARE DEAD???

(Former admin of TapL's Server.)
Edited 2 times - Last edited at 01:37:36 08/10/2015 by DS D
PwnageFTW Yellow Sparx Gems: 1716
#2 Posted: 01:34:17 08/10/2015
Hmmm... I'm in programming class, but I don't know how to fix something like that. Sorry.
---
Quote: Carmelita Fox
YOU’RE ALL DUMB SHEEP!!!!
Big Green Platinum Sparx Gems: 6345
#3 Posted: 02:01:31 08/10/2015
why is your avatar/signature from a grocery store
DS D Yellow Sparx Gems: 1565
#4 Posted: 00:44:56 10/10/2015 | Topic Creator
Quote: PwnageFTW
Hmmm... I'm in programming class, but I don't know how to fix something like that. Sorry.


Turns out it was because of erroneous code in previous lines in one of my print functions. It only read the last line because it didn't have a \ at the end.

Quote: Big Green
why is your avatar/signature from a grocery store



Because...

[User Posted Image]
---
Yo, DEADASS?? BANANAS ARE DEAD???

(Former admin of TapL's Server.)
Page 1 of 1

Please login or register a forum account to post a message.

Username Password Remember Me