Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
7
Task/Create-a-file/Nim/create-a-file-1.nim
Normal file
7
Task/Create-a-file/Nim/create-a-file-1.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import os
|
||||
|
||||
open("output.txt", fmWrite).close()
|
||||
createDir("docs")
|
||||
|
||||
open(DirSep & "output.txt", fmWrite).close()
|
||||
createDir(DirSep & "docs")
|
||||
5
Task/Create-a-file/Nim/create-a-file-2.nim
Normal file
5
Task/Create-a-file/Nim/create-a-file-2.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import os
|
||||
const directories = ["/", "./"]
|
||||
for directory in directories:
|
||||
open(directory & "output.txt", fmWrite).close()
|
||||
createDir(directory & "docs")
|
||||
Loading…
Add table
Add a link
Reference in a new issue