+ 2

Key error in string format

What is the error and means by key error here https://code.sololearn.com/chod800biGvb/?ref=app

25th Dec 2020, 5:23 PM
HBhZ_C
HBhZ_C - avatar
3 Réponses
+ 2
delete '=' from string like f'{param}' not f'{param=}'... because it tells you 'param=' is not a parameter
25th Dec 2020, 5:34 PM
giora
giora - avatar
+ 1
Why old way does not working?Царь СОБАКА - Догго I
25th Dec 2020, 5:33 PM
HBhZ_C
HBhZ_C - avatar
+ 1
Thanks giora now it works but without f string formatting code.
25th Dec 2020, 5:38 PM
HBhZ_C
HBhZ_C - avatar