Skip to content

Instantly share code, notes, and snippets.

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 November 4, 2021 13:24
RunMyCode Online Test
/*
This program won't run properly without an input.
Try with: abc
*/
fun main(args: Array<String>) {
println("Hello World from Kotlin!")
println(readLine()!!)
}