+ 1
why this code giving "f-string: mismatched '(', '{', or '[' " error ???
i make use of string formating in my this code and see an new error that i am not seen before i check my code many times but can not figure out what is wrong in the code https://code.sololearn.com/cmAIkIL612r8/?ref=app
8 Respuestas
+ 2
This should work ig 🙃
https://code.sololearn.com/cjFIjS364YXF/?ref=app
+ 4
Jiten actually your code also doesn't have a comma 😆
I modified your code and didn't make a new one!
Thanks for pointing out that!
You're welcome 🙃
+ 3
In line 8, f should be inside the bracket!
return (f"your text")
+ 2
The num_1 list is wrong
It should have all the strings
Try this:
num_1 = ['1','2','3','4','5','6','7','8','9']
+ 2
Where have you defined sa?
+ 2
In line 14,
Don't use double quotes inside double quotes!
Instead use single quotes
+ 2
What is eu.[-1],
Remove that . (dot)
It should be eu_l[-1]
+ 2
thanks Namit Jain it works :)
by the way just put a comma(,) b/w feb and mar