Jump to content

Bulls and cows/Player: Difference between revisions

→‎{{header|Tcl}}: (Hopefully) replaced constant: 4 with variable $size to make things genericc.
m (→‎{{header|Tcl}}: Noted that this is a translation of the python code)
(→‎{{header|Tcl}}: (Hopefully) replaced constant: 4 with variable $size to make things genericc.)
Line 119:
set score [scan [gets stdin] %d,%d]
lappend scores $score
if {$score eq {4$size 0}} {
puts "Ye-haw!"
break
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.