Module Making | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Module Making

I'm makin' a module and I want the functions to have *args and **kwargs but there is a error https://code.sololearn.com/cofAiAxlyGzg/?ref=app

20th Jun 2020, 7:46 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
4 Answers
+ 3
it should be like this: syspath_Win(*args, **kwargs) and you: syspath_Win(**args, **kwargs)
20th Jun 2020, 7:57 PM
Busyj
0
Thx
20th Jun 2020, 7:57 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
0
Ye
20th Jun 2020, 7:59 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
0
How would you make this code work? >>Code import _whatever_ as wt wt.text(text="hi") >>Output hi
20th Jun 2020, 8:08 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar