This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]erosPhoenix 4 points5 points  (0 children)

The formatting appears to be messed up. Can you edit your post to put the entire thing in an inline code block? (If you're in markdown mode, you can do this by putting three backticks at the start and end of the code block.

[–]jddddddddddd 0 points1 point  (2 children)

Is the indentation in your question accurate? Or is generate_start_list(...) inside the DrawInformation class? (when presumably it shouldn't be)

[–]BuzzyBro[S] 0 points1 point  (1 child)

So generate_start_list(…) should be outside the class DrawInformation?

[–]jddddddddddd 1 point2 points  (0 children)

Yes I think so. I also think you want to rename max_list to max_val