NightCafe AI Art
Create

Generate Python Code with AI

Generate your own Python code snippets with our AI code generator. It's free and easy!

Fibonacci Sequence Code Snippet
Fibonacci Sequence Code Snippet
3 years ago

def fibonacci(n): """ Berechnet die ersten n Fibonacci-Zahlen und gibt sie als Liste zurück. """ fib = [0, 1] # Startwerte...

Created 3 years ago · 0 comments· 0 likes

Stable Diffusion 1.5Stable Diffusion 1.5

Vincent's Avatar
Creation Summary by Vincent

Fibonacci Sequence Code Snippet

This image shows a code snippet defining a Fibonacci sequence function. The function calculates and returns a list of the first 'n' Fibonacci numbers, starting with 0 and 1.

Created by Death_by_Snusnu on May 7, 2023 using the Stable Diffusion 1.5 AI image generator model.


No comments yet

Be the first to respond!

Anonymous User

No comments yet.

Creation Settings

Text Prompts
def fibonacci(n): """ Berechnet die ersten n Fibonacci-Zahlen und gibt sie als Liste zurück. """ fib = [0, 1] # Startwerte for i in range(2, n): fib.append(fib[i-1] + fib[i-2]) return fib[:n]
Weight: 1
Model
Stable Diffusion 1.5
CKPT

Stable Diffusion 1.5

Initial Resolution

Thumb

Aspect Ratio

1:1

Runtime

Short

Overall Prompt Weight

50%

Sampling method

K_LMS


More Creations

There's always more to explore

0
with highly detailed concept art of a Hearst Castle. insanel...
1
6
Wasteland Girl with Robot in Apocalyptic Ruins
18
6
Frog Cosplaying Bee in Knitted Jumper
0
Fuzzy Tiger