Login and get codingWrite a function called
get_profile
that can only allows 2 keyword arguments:name
andprofession
which default to julian and programmer respectively.The function does nothing fancy, just return a
The point is to limit the interface of this function and you'll see Python makes it very easy ... have fun!str
:name
is aprofession
.
487 out of 511 users completed this Bite.
Will you be Pythonista #488 to crack this Bite?
Resolution time: ~32 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.33 on a 1-10 difficulty scale.
» Up for a challenge? 💪