a wild space appears
This commit is contained in:
parent
375fc72916
commit
867f476bd5
@ -1,18 +1,18 @@
|
|||||||
// Go has various value types, including strings,
|
// Go has various value types, including strings,
|
||||||
// different types of numbers, booleans, etc.
|
// different types of numbers, booleans, etc.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("Hello world") // Strings.
|
fmt.Println("Hello world") // Strings.
|
||||||
fmt.Println("Hello " + "other")
|
fmt.Println("Hello " + "other")
|
||||||
|
|
||||||
fmt.Println("1+1 =", 1+1) // Integers and floats.
|
fmt.Println("1+1 =", 1+1) // Integers and floats.
|
||||||
fmt.Println("7.0/3.0 =", 7.0/3.0)
|
fmt.Println("7.0/3.0 =", 7.0/3.0)
|
||||||
|
|
||||||
fmt.Println(true && false) // Booleans.
|
fmt.Println(true && false) // Booleans.
|
||||||
fmt.Println(true || false)
|
fmt.Println(true || false)
|
||||||
fmt.Println(!true)
|
fmt.Println(!true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user