This repository contains various Python scripts demonstrating different programming concepts and utilities.
- CheckPalindrome.py: Checks if a given string is a palindrome.
- CheckPrimeNumber.py: Determines if a number is prime.
- ConcatenateStrings.py: Demonstrates string concatenation.
- CtoF.py: Converts Celsius to Fahrenheit.
- FibonacciSequence.py: Generates Fibonacci sequence.
- HelloWorld.py: A simple "Hello, World!" program.
- ReverseString.py: Reverses a given string.
- SquareofNumber.py: Calculates the square of a number.
- StringLength.py: Computes the length of a string.
- SumofTwoNumbers.py: Adds two numbers.
- chapter03_path_parameters_01.py: Example related to FastAPI path parameters.
- gcd.py: Calculates the Greatest Common Divisor of two numbers.
Each file is a standalone Python script. You can run them individually using Python:
- fastapi dev .\filename.py
- or
- uvicorn filename:app --reload