0

My python code won't work. I don't know why?

Warning\Error File "file.py", line 5 var b = Baboon ^ SyntaxError: invalid syntax This is all they showed me

10th Feb 2022, 7:49 PM
CHRISTOPHER DIBIA
CHRISTOPHER DIBIA - avatar
1 Odpowiedź
+ 3
Add language name as tag CHRISTOPHER DIBIA Python don't need variable to be specified explicitly.. It detects type on value assignment Just use b = Baboon #if Baboon is declared If Baboon is string then use b = "Baboon"
10th Feb 2022, 7:52 PM
Jayakrishna 🇮🇳