I'm am trying to assign values to multiple variables in one statement, but I cannot figure out if there is a nice syntax to split it across multiple lines.
# This is the long version I don't want
a, b, c, d = tf.constant(1, name='constant_a'), tf.constant(2, name='constant_b'), tf.constant(3, name='constant_c'), tf.constant(4, name='constant_d')
# Does something like this exist?
a, b, c, d = tf.constant(1, name='constant_a'), /
tf.constant(2, name='constant_b'), /
tf.constant(3, name='constant_c'), /
tf.constant(4, name='constant_d')
Is there a nice, Pythonic way to do this?
python a = tf.constant(..) ... d = tf.constant(..)?