Bite 43. Force keyword arguments
Login and get codingWrite a function called
get_profilethat only allows 2 keyword arguments:nameandprofessionwhich default to julian and programmer respectively.The function does nothing fancy, just return a
str:nameis aprofession.The point is to limit the interface of this function and you'll see Python makes it very easy ... have fun!
699 out of 730 users completed this Bite.
Will you be the 700th person to crack this Bite?
Resolution time: ~31 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 4.59 on a 1-10 difficulty scale.
» Up for a challenge? 💪