online dating service plentyofdevs.com was recently hacked and a list of its members was leaked on the interwebs.
- dt
- aden
- allison
- bern
- callum
- cath
- felipe
- jian
- jimmy
- linda
- matt
- naveen
- ned
- peter
- sam
- sannan
- sara
- stephen
- stuart
- tom
pick a reasonable data type to store this list of names in your program and assign it a variable name
dt prefer to use his "real" name mistyrose. write code to replace dt in the list with misty rose (for this warmup it's ok to keep it simple and use the most obvious way but go nuts if wanna challenge yourself)
dt was the one who leaked the list. Naturally he removed himself from the list. use a built in array method/function to remove the first element from the list.
using a while loop iterate through the members list one at a time and print to the terminal/console each member on a new line if their names are 3 or 6 characters long