Login and get codingIn this Bite we will look at some Bite stats logs (usernames have been anonymized!):
$ head -5 bite_output_log.txt bite,user,completed 102,ofancourt1,False 101,ofancourt1,False 29,emilham4,False 9,mfilshin6,FalseLoad in the data using
csv
's awesomeDictReader
storing the result inself.rows
in the constructor (__init__
). Next finish the 6 defined@property
methods using the loaded in data. Eachproperty
returns a single value. Check out the docstrings and tests for more info.Good luck and keep calm and code in Python!
Will you be Pythonista #166 to crack this Bite?
Resolution time: ~53 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.83 on a 1-10 difficulty scale.
» You can do it! 😌