W
Wenhua Zhao
a = b | 1
a = b if b != nil
else a =1
Is there such expression in python?
Thanks a lot!
a = b if b != nil
else a =1
Is there such expression in python?
Thanks a lot!
Wenhua said:a = b | 1
a = b if b != nil
else a =1
Is there such expression in python?
a = b | 1
a = b if b != nil
else a =1
Is there such expression in python?
Wenhua Zhao said:Is there such expression in python?
a = b | 1
a = b if b != nil
else a =1
Is there such expression in python?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.