WordPress Hosting
Free Photos
WordPress Themes

PYTHON FIBINOCI

#DERET FIBINOCI num = int(input("NASUKAN JUMLAH DERET: ")) first = 0 second = 1 print("\nfibonacci series:") print(first, ",", second, end=", ") for i in range(2, num): next = first + second print(next, end=", ") first = second second = next

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.