Computer Science Canada Can Some1 Convert Python to Turing? |
| Author: | Anonymous [ Mon May 22, 2006 10:00 pm ] | ||
| Post subject: | Can Some1 Convert Python to Turing? | ||
I got this piece of Python code, can someone convert it to Turing for me? I tried but the results do not match. PYTHON:
[/code] |
|||
| Author: | Tony [ Mon May 22, 2006 10:34 pm ] | ||
| Post subject: | |||
I don't know Python, but would it be something like
|
|||
| Author: | Anonymous [ Mon May 22, 2006 10:36 pm ] |
| Post subject: | |
Sweet thanks. That's what I needed =) |
|
| Author: | MysticVegeta [ Mon May 22, 2006 10:40 pm ] |
| Post subject: | |
Isn't "int", "round"? instead of "floor"? |
|