this has nothing to do with the walrus operator and everything to do with how string.format works in python https://docs.python.org/3/library/string.html#format-string-...
Edit: someone downvoted me because they don't understand there is no walrus operator here
print(f"{a:=10}")