Oktatás * Programozás 2 * Szkriptnyelvek * levelezősök Félévek Linkek * kalendárium |
Nim /
20180617fread from stdin using a moduleLet's put the following in a module called # py.nim proc input*(text: string = ""): string = stdout.write(text) stdin.readLine() The How to use an own module?import py let name = input("Your name: ") echo "Hello ", name, "!" Output: Your name: Lac Hello Lac! |
Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |