๐จโ๐ป ย Software Engineer
๐ ย MSCS Student at NC State University, Raleigh, NC, USA ๐บ๐ธ
๐จโ๐ ย Computer Science Undergrad from JEC, MP, India ๐ฎ๐ณ
- I love to code, design and try out new challenging things.
- Possess industrial experience in developing microservices.
- Connect with me any time and start discussion on any hot topic in tech
- Currently enrolled in CSC519, excited for a lot of cool Devops stuff ๐
- you either automate or get replaced by it.
Code Before:
cars = ["lamborghini", "McLaren", "Ferrari", "Porsche", "Ford GT"]
list = []
for x in cars:
if "a" in x:
list.append(x)
list comprehension: offers simpler and shorter version of long code
cars = ["lamborghini", "McLaren", "Ferrari", "Porsche", "Ford GT"]
list = [car for car in cars if "a" in car]