https://github.com/burhanali2211/fibonacci-generator
https://github.com/burhanali2211/fibonacci-generator
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/burhanali2211/fibonacci-generator
- Owner: Burhanali2211
- Created: 2025-02-23T18:18:40.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-23T18:19:55.000Z (3 months ago)
- Last Synced: 2025-02-23T19:25:42.783Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fibonacci GUI Application
## Overview
This is a simple Fibonacci series generator built using **PyQt6**. It provides a graphical user interface (GUI) where users can input a number (N) and generate the Fibonacci series up to the Nth term. The generated series is displayed in a scrollable area, and users can save or load the results from a file.## Features
- **Generate Fibonacci Series**: Enter a number and generate the series up to that term.
- **Scrollable Output**: Displays long Fibonacci sequences neatly.
- **Save to File**: Save the generated series to a text file.
- **Load from File**: Load a previously saved Fibonacci series.
- **Clear Output**: Clear the displayed series and input field.
- **Error Handling**: Validates input and provides error messages.
- **Resizable Window**: Properly adjusts UI components when resized.## Installation
### Prerequisites
Make sure you have Python installed (version 3.6 or later recommended). You also need to install **PyQt6**.```sh
pip install PyQt6
```## How to Run
1. Clone or download this repository.
2. Open a terminal/command prompt and navigate to the project folder.
3. Run the script using:```sh
python Fibonacci-Generator.py
```## Usage
1. Enter a positive integer in the input box.
2. Click **Generate** to display the Fibonacci series.
3. Click **Save to File** to save the series.
4. Click **Load from File** to load a previously saved series.
5. Click **Clear** to reset the output.## Contributing
Feel free to fork this project and enhance it. If you have any suggestions or improvements, open a pull request.## License
This project is licensed under the MIT License.