Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- func main() {
- langs := [4]string{
- "Go",
- "Python",
- "Ruby",
- "PHP",
- }
- for i, e := range langs {
- fmt.Println(fmt.Sprintf("%d: %s", i+1, e))
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement