data= { 'red' :1, 'blue' :2, 'green' :3} def makedict(** kwargs): return kwarge data = makedict( red = 1; blue =2; green =3;) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

data= { 'red' :1, 'blue' :2, 'green' :3} def makedict(** kwargs): return kwarge data = makedict( red = 1; blue =2; green =3;)

5th Aug 2020, 5:07 PM
Starcodelab
Starcodelab - avatar
3 Answers
+ 3
Without knowing the aim of your try, it is difficult to rework the code. May be you can give us a description what the output should look like. Thanks!
5th Aug 2020, 6:40 PM
Lothar
Lothar - avatar
0
https://www.sololearn.com/Discuss/2431321/?ref=app Same question two times, wait for some time you will get answer and delete this
5th Aug 2020, 5:10 PM
v@msi😉
v@msi😉 - avatar
- 1
.
5th Aug 2020, 10:12 PM
Khadija Montasir
Khadija Montasir - avatar