<reponame>nanobowers/py2cr<filename>tests/basic/list3.py<gh_stars>10-100
from typing import List

x : List[str] = list()
x.append('foo')
print(len(x))
print(x[0])

y = list('foo')
y.append('bar')
print(len(y))
print(y[0])
print(y[1])

z = [0, 1, 2]
print(z)
z = list(z)
print(z)

from typing import List

x : List[str] = list()
x.append('foo')
print(len(x))
print(x[0])

y = list('foo')
y.append('bar')
print(len(y))
print(y[0])
print(y[1])

z = [0, 1, 2]
print(z)
z = list(z)
print(z)