refactor: variables/assignment exercises and questions
This commit is contained in:
29
06-variables/04-assignment/exercises/01-make-it-blue/main.go
Normal file
29
06-variables/04-assignment/exercises/01-make-it-blue/main.go
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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: Make It Blue
|
||||
//
|
||||
// 1. Change `color` variable's value to "blue"
|
||||
//
|
||||
// 2. Print it
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// blue
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
// DON'T TOUCH THIS:
|
||||
|
||||
// color := "green"
|
||||
|
||||
// ADD YOUR CODE BELOW:
|
||||
|
||||
// ?
|
||||
}
|
Reference in New Issue
Block a user