parthpandyappp / Sorting-Searching-Algorithms

This is an initiative for those who are new to opensource or just want to get started with Open Source contributions. So, let's dive into Open Source! Help others learn what you've learnt! Community involvement is just amazing, which provides you with more enthusiasm and inspiration! Get started!
https://parthpandyappp.github.io/Sorting-Searching-Algorithms/
GNU General Public License v3.0
13 stars 24 forks source link

More Interactive and More Efficient !! #51

Closed Devarsh-leo closed 4 years ago

Devarsh-leo commented 4 years ago

Modified File : linear-search.py Folder: Algorithms in Python New User Interface with more efficiency is added. Menu is made to interact with user. List comprehension is used instead of for loops to increase efficiency of the program. Multiple values can searched or removed with only one time input. While loop is placed so the program can be used until user wants to exit. Previous code is still added in comments at the bottom of the file.

parthpandyappp commented 4 years ago

Looks great! Please rename your file, as menu-driven-linear-search.py Thanks! Happy Hacking!

parthpandyappp commented 4 years ago

@Devarsh-leo Do uncomment the previous code, and place your code in another file named menu-driven-linear-search.py

parthpandyappp commented 4 years ago

@Devarsh-leo Great work so far! Contributions merged! Thanks, Happy Hacking!