Jump to content


Photo

LCD Numbers


  • Please log in to reply
1 reply to this topic

#1 Kotrin

Kotrin

    Mack Daddy 31337

  • Members
  • 228 posts
  • Location:~

Posted 29 September 2009 - 08:27 AM

This is one of my more favorite challenges from RubyQuiz just because it's quasi useful and fun to do.

This week's quiz is to write a program that displays LCD style numbers at adjustable sizes.

The digits to be displayed will be passed as an argument to the program. Size should be controlled with the command-line option -s follow up by a positive integer. The default value for -s is 2.


Visist Here For Example + Tips + Answers

p.s. Good to be back :)

#2 Lord Wud

Lord Wud

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 423 posts
  • Location:New Jersey

Posted 13 September 2010 - 12:20 PM

This is in python, and I know I can make it alot tighter. I had to copy/paste more then once, and that is always a bad sign. Suggestions are welcome, but I'm not reading them until I try it again. It also showed me that I have no idea how to properly process command line options, I should look into that.

Spoiler

Edited by Lord Wud, 13 September 2010 - 12:21 PM.





BinRev is hosted by the great people at Lunarpages!