var x = 1
let y = 2
x = 2
# y = 1 # ERROR : immutable
case x
of 1 : echo 1
of 2 : echo 2
else : discard
from strutils import parseInt
echo parseInt "123456"
for i in 0..1_000_000 :
echo(parseInt(readLine(stdin)))
for i in 0..10 :
echo "Hello World"[0..i]
网友评论