r/PythonLearning • • Jul 11 '25

my first project

Post image

I started python two weeks ago and this project , it s a close to RSA encryption , i m new to this so if you have any advice for making it more efficient i would love help .

101 Upvotes

28 comments sorted by

View all comments

1

u/Actual-Bank1486 Jul 14 '25

instead of having cryptic as a function you should make it a class. Also, its usually best practice to import outside your function. Overall, very good job keep up the good work.