extinctsion / easyPythonpi

A python library for the beginners. The program includes simple calulations. Genuine PRs will be merged without delays
https://pypi.org/project/easyPythonpi/
14 stars 36 forks source link

Convert the Python code according to the latest syntax. #24

Closed extinctsion closed 1 year ago

extinctsion commented 1 year ago

Python has released its latest syntax for version 3.9x onwards. You can see the syntax in their doc section and convert the exisitng code into the latest version. Interested person can address me so that you are assigned the role. Ex -> #def add(x,y) can be written as---

def add(x: float, y:float) -> float:

This is the new syntax that we can use while defining a method.

AndrewHUNGNguyen commented 1 year ago

@extinctsion can I take this one?

extinctsion commented 1 year ago

@extinctsion can I take this one?

Sure, but someone else already did. meanwhile,u can add new methods to the library. Also, im planning to automate this library to pypi release.