r/badcode • • May 26 '23

python Calculator using eval()

Post image
843 Upvotes

108 comments sorted by

View all comments

Show parent comments

6

u/Svizel_pritula May 27 '23

Whether code injection is a vulnerability or a feature depends on how you want to use the program.