You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
221 B
Plaintext
24 lines
221 B
Plaintext
7 years ago
|
array(a, 10)
|
||
|
|
||
|
i = 0
|
||
|
while (i < 10) {
|
||
|
a.i = i * 2
|
||
|
i = i + 1
|
||
|
}
|
||
|
|
||
|
i = 0
|
||
|
while (i < 10) {
|
||
|
print(a.i)
|
||
|
i = i + 1
|
||
|
}
|
||
|
|
||
|
a.20 = 143
|
||
|
print(a.20)
|
||
|
print(a.19)
|
||
|
|
||
|
print("Strings:")
|
||
|
str = "Hello!"
|
||
|
print(str.0)
|
||
|
print(str.2)
|
||
|
print(str.4)
|