Skip to content

Instantly share code, notes, and snippets.

View bilalobe's full-sized avatar
😇

BILAL ELKHATABI bilalobe

😇
  • 07:32 (UTC -12:00)
View GitHub Profile
@bilalobe
bilalobe / fibonacci.go
Created June 11, 2024 18:26
lake mead marina boat fire
package main
func fibonacci(n int) int {
a, b := 0, 1
for i := 0; i < n; i++ {
a, b = b, a+b
}
return a
}
<!-- Generated by JetBrains ReSharper 2024.3.3 --><html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Errors/Warnings in Tinker</title>
<style>
dt { float: left; margin-right: 0.5em; }
dd { }
</style>
</head>
<body>