Variables
The := short declaration, explicit type with var, const constants, and the "unused variable" rule.
Simple enough for a 5-year-old to understand
:= and var
package mainimport "fmt"func main() { name := "Alex" var age int = 36 fmt.Println(name, age)}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: Konya