Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

โŸจFโŸฉ Fibonacci Generator

Python Tkinter License Internship

A premium dark-themed desktop application built with Python and Tkinter that provides a complete suite of Fibonacci sequence tools โ€” all in one elegant GUI.


๐Ÿ–ผ๏ธ Features

Tab Description
๐Ÿ”ข Generate Series Generate the first N Fibonacci numbers with live stat pills (count, sum, largest, even count)
๐Ÿ” Check Number Check if any number is a Fibonacci number; shows nearest lower & upper Fibonacci
๐Ÿ“ Nth Term Find the exact Fibonacci number at any position (0-indexed)
๐Ÿ“Š Statistics Full breakdown โ€” sum, average, golden ratio, even/odd numbers
๐Ÿ”„ Reverse Series Display the Fibonacci series in descending order
๐Ÿ“ˆ Visualizer Animated color bar chart of the series (up to 30 terms)
โ„น๏ธ About App information and project details

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.x (Tkinter is included by default)

Run the App

git clone https://github.com/YOUR_USERNAME/HexSoftwares_Fibonacci_Generator.git
cd HexSoftwares_Fibonacci_Generator
python fibonacci_generator.py

๐Ÿงฎ How It Works

The Fibonacci sequence is defined by the recurrence relation:

F(0) = 0
F(1) = 1
F(n) = F(n-1) + F(n-2)   for n > 1

Result: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 ...

Checking if a number is Fibonacci

A number N is a Fibonacci number if and only if one or both of (5Nยฒ + 4) or (5Nยฒ โˆ’ 4) is a perfect square.

Golden Ratio

As N grows, the ratio of consecutive Fibonacci numbers approaches the Golden Ratio ฯ† โ‰ˆ 1.6180339887...


๐Ÿ“ Project Structure

HexSoftwares_Fibonacci_Generator/
โ”‚
โ”œโ”€โ”€ fibonacci_generator.py   # Main application
โ””โ”€โ”€ README.md                # Project documentation

๐Ÿ› ๏ธ Built With

  • Python 3 โ€” Core language
  • Tkinter โ€” GUI framework (built-in)
  • Math โ€” Perfect square checks (built-in)

โœ… Zero external dependencies โ€” runs out of the box!


๐Ÿ“ธ App Preview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  โŸจFโŸฉ  FIBONACCI GENERATOR    Hex Softwares Internshipโ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ ๐Ÿ”ข Generate  โ”‚   Enter how many numbers to generate  โ”‚
โ”‚ ๐Ÿ” Check     โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  [ Generate ]      โ”‚
โ”‚ ๐Ÿ“ Nth Term  โ”‚   โ”‚  e.g. 15     โ”‚                    โ”‚
โ”‚ ๐Ÿ“Š Statisticsโ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                    โ”‚
โ”‚ ๐Ÿ”„ Reverse   โ”‚   Count: 15  Sum: 986  Largest: 610   โ”‚
โ”‚ ๐Ÿ“ˆ Visualizerโ”‚                                        โ”‚
โ”‚ โ„น๏ธ  About    โ”‚   [0]  0                               โ”‚
โ”‚              โ”‚   [1]  1    ...                        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ‘จโ€๐Ÿ’ป Author

Ubaidullah Waheed

Developed as Task 1 of the Hex Softwares Python Programming Internship.


๐Ÿ“„ License

This project is licensed under the MIT License.

About

๐Ÿ”ข Premium dark-themed Fibonacci Generator desktop app built with Python & Tkinter. Generate series, check numbers, find Nth term, statistics, reverse series & bar chart visualizer. Hex Softwares Python Internship Task 1.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages