Go exercises — Intermediate

Intermediate Go exercises with solutions: functions, strings and maps, to consolidate the fundamentals of the Go language.

Intermediate

Medium20min

Calculator in Go

Build a small integer calculator that returns a result or an error for each operation, then compare it with a complete tested Go solution.

  • fonctions
  • erreurs
Medium20min

Word counter in Go

Count how many times each word appears in a text using strings and a map, then compare your program with a complete tested Go solution.

  • strings
  • maps

← See all exercises · Review the lessons

Search

Search runs entirely in your browser.