LoginSignup
1
0

More than 5 years have passed since last update.

Goでも愛が生まれた

Posted at

環境

Go 1.4.2

愛が生まれた

index.go
package main

import "fmt"

func main(){
  fmt.Println(string('生' & '死'))
}

実行結果

go_make_love.png

原理

'生'と'死'のASCIIコードを論理積することで'愛'のASCIIコードが出来、それを表示しただけ

元ネタ

愛が生まれた

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0