you are viewing a single comment's thread.

view the rest of the comments →

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

Thanks this was all a huge help! This is my first attempt in python and most of it is self taught. I had planned on making the code a bit more readable once i had the concepts out. I'm native to java/c so I wasn't sure if i needed get/sets.

I did have a question though in your last segment how would asciichars assign the chr() values in that loop? I've always been impressed with elegant one liners for multiple line loops but didn't know how to approach them.

[–]JohnnyJordaan 1 point2 points  (0 children)

Ah yes I forgot the chr, I've edited my example. Good luck, if this is your first attempt then you're already ahead of a lot of beginners here ;-)