GH avatar Bite 43. Force keyword arguments

Write a function called get_profile that can only allows 2 keyword arguments: name and profession which default to julian and programmer respectively.

The function does nothing fancy, just return a str: name is a profession.

The point is to limit the interface of this function and you'll see Python makes it very easy ... have fun!

go back Beginner level
Bitecoin 2X

239 out of 252 users completed this Bite.
Will you be Pythonista #240 to crack this Bite?
Resolution time: ~33 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.92 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7