This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
func fibonacci(n int) int { | |
a, b := 0, 1 | |
for i := 0; i < n; i++ { | |
a, b = b, a+b | |
} | |
return a | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |