Skip to content

Instantly share code, notes, and snippets.

View test.go
package main
import "os"
import "fmt"
import "strings"
func main() {
fmt.Println("Hello World from Go!")
args := os.Args[1:]
fmt.Println(fmt.Sprintf("%v Args: [%v]", len(args), strings.Join(args, ", ")))
@shatgupt
shatgupt / hello-kotlin.kt
Last active Oct 16, 2018
RunMyCode Online Test
View hello-kotlin.kt
/*
This program won't run properly without an input.
Try with: abc
*/
fun main(args: Array<String>) {
println("Hello World from Kotlin!")
println(readLine()!!)
}
You can’t perform that action at this time.