Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
tcl to python list test
proc toPythonList {value} { if {[string is integer -strict $value]} { return $value } set result "\[" foreach item $value { append result [toPythonList $item] ", " } append result "\]" return $result } puts [toPythonList { 12 {100} {{12 34}} {56 {78 {11 12 11} 10}}}]
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Counting occurences of substring in string
Answer
eerewr
Working for neg
binary multiplication
Perfect bin mul eo float
procedures.tcl
dssd
q1q0
Perfect decimal to binary add
Please log in to post a comment.