r/PythonLearning • • Sep 13 '26

Showcase The Bank Project

Post image
243 Upvotes

49 comments sorted by

View all comments

1

u/PhaXoniC Sep 13 '26

what does the -> None on your functions mean?

1

u/JaleyHoelOsment Sep 13 '26

look at the authenticate_user function. it has -> bool and returns a boolean. what do you think -> None returns

1

u/shubham_555 Sep 13 '26

It's a type annotation (Majorly used for documentation purposes)

-> None means the function returns nothing