24 lines
504 B
Go
24 lines
504 B
Go
// For more tutorials: https://blog.learngoprogramming.com
|
|
//
|
|
// Copyright © 2018 Inanc Gumus
|
|
// Learn Go Programming Course
|
|
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
//
|
|
|
|
package main
|
|
|
|
// ---------------------------------------------------------
|
|
// EXERCISE
|
|
// 1- Swap the values of `red` and `blue` variables
|
|
//
|
|
// 2- Print them
|
|
//
|
|
// EXPECTED OUTPUT
|
|
// blue red
|
|
// ---------------------------------------------------------
|
|
|
|
func main() {
|
|
// red, blue := "red", "blue"
|
|
// ?
|
|
}
|