+ 6
Why walrus function is not working on Sololearn's Playground?
When sololearn updated its python version from 3.7 to 3.8, this function was working fine, but now it is giving the syntax error. I don't understand why this is happening. Here are some examples: https://code.sololearn.com/cX2GUkWRD7sw/?ref=app https://code.sololearn.com/cRV7wKGXn9fr/?ref=app https://code.sololearn.com/cQjq7ODC2YSJ/?ref=app
3 ответов
+ 8
import sys
print(sys. version)
We have 3.7.5
walrus not yet born here
+ 4
You can read here:
https://www.sololearn.com/Discuss/2103436/?ref=app