codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
zero = ["+--+","| |","| |","+ +","| |","| |","+--+"] #check one = [" +"," |"," |"," +"," |"," |"," +"] #check two = ["+--+"," |"," |","+--+","| ","| ","+--+"] #check three = ["+--+"," |"," |","+--+"," |"," |","+--+"] #check four = ["+ +","| |","| |","+--+"," |"," |"," +"] #check five = ["+--+","| ","| ","+--+"," |"," |","+--+"] #check six = ["+--+","| ","| ","+--+","| |","| |","+--+"] #check seven = ["+--+"," |"," |"," +"," |"," |"," +"] #check eight = ["+--+","| |","| |","+--+","| |","| |","+--+"] #check nine = ["+--+","| |","| |","+--+"," |"," |"," +"] for i in 0..6 print zero[i] + " " + one[i] + " " + two[i] + " " + three[i] + " " + four[i] + " " + five[i] + " " + six[i] + " " + seven[i] + " " + eight[i] + " " + nine[i] puts end
Private
[
?
]
Run code
Submit