Login and get codingIn this Bite you are going to decode some Base64 encoded csv data.
This is what the encoded data looks like:
Zmlyc3RfbmFtZSxsYXN0X25hbWUsY3JlZGl0X2NhcmQKS2VlbGJ5LE1hY0NhZmZlcmt5LD
YzOTM3MTk0MzMzMjk5MjQKTGlubmVsbCxDbGVtbWV0dCwzNTU1NTg0OTI0MDkzOTU0CkVs
eXNoYSxNZWlnaGFuLDYzODU3OTU3OTM4OTcxMDYKS2F0YWxpbixFdGhlcnRvbiwzNTg0Mj
MwMDExNjgwNzAwCkZpbmEsUGFzZWssNTEwMDEzNjYzMTY2NDY4NwpBcmRlbGxhLEJyYXpp
ZXIsMjAxNzEyNjEzNjUzMzc0CkRvcnRoZWEsS2FycGluc2tpLDMwNTAyNjYxMjUxMTcyCl
Jhbm5hLER1ZmYsMzU3NjM5MzA1NjQ5MzMxMgpDaW5uYW1vbixLYWFzbWFuLDU0NDIwMjgx
NTA4MDg1NzAKSmFjbGluLFRvbmdlLDM1NDk4NTIxMDQ3MjQ1MjcKThis data would look like this decoded:
first_name,last_name,credit_card
Keelby,MacCafferky,6393719433329924
Linnell,Clemmett,3555584924093954
Elysha,Meighan,6385795793897106
Katalin,Etherton,3584230011680700
Fina,Pasek,5100136631664687
Ardella,Brazier,201712613653374
Dorthea,Karpinski,30502661251172
Ranna,Duff,3576393056493312
Cinnamon,Kaasman,5442028150808570
Jaclin,Tonge,3549852104724527Use the
base64
module to decode this data and extract the last column of (fake) credit card numbers returning it as alist
(see also the type hints and tests).We generated the data for this exercise using Mockaroo service, an excellent service to quickly get realistic fake data.
132 out of 132 users completed this Bite.
Will you be the 133rd person to crack this Bite?
Resolution time: ~29 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 3.0 on a 1-10 difficulty scale.
» You can do it! 😌