fix: questions typos of the if statement section

This commit is contained in:
Inanc Gumus
2018-10-21 23:16:30 +03:00
parent a29cb99fcb
commit 2db3731b25
7 changed files with 22 additions and 55 deletions

View File

@ -79,7 +79,7 @@ func main() {
>
> **3:** Perfect! You don't need to compare the value to `true`. `happy` is already true, so it'll print "cool!".
>
> **4:** That won't print anything. `happy` will be true.
> **4:** That won't print anything. `!happy` yields false.
## How can you simplify the following code? You only need to change the condition expression, but how?
@ -108,7 +108,7 @@ func main() {
> **4:** That won't print anything. `happy` will be true.
## Is this code going to work? Why?
## This code contains an error. How to fix it?
```go
package main