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!
212 out of 212 users completed this Bite.
Will you be the 213th person to crack this Bite?
Resolution time: ~55 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 4.0 on a 1-10 difficulty scale.
» Up for a challenge? 💪