Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Reverse-a-string/MiniScript/reverse-a-string.mini
Normal file
7
Task/Reverse-a-string/MiniScript/reverse-a-string.mini
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
str = "This is a string"
|
||||
print "Forward: " + str
|
||||
newStr = ""
|
||||
for i in range(str.len-1, 0)
|
||||
newStr = newStr + str[i]
|
||||
end for
|
||||
print "Reversed: " + newStr
|
||||
Loading…
Add table
Add a link
Reference in a new issue