update for a2e1
authorMart Lubbers <mart@martlubbers.net>
Tue, 24 Nov 2015 13:55:11 +0000 (14:55 +0100)
committerMart Lubbers <mart@martlubbers.net>
Tue, 24 Nov 2015 13:55:11 +0000 (14:55 +0100)
a2/src/1.py

index 2650336..1a75628 100644 (file)
@@ -38,7 +38,9 @@ for node, name in zip(nodes, names):
             continue
         if orsym:
             print('|')
-        print('next(time)=time+{}'.format(time))
+        print('(', end='')
+        print('next(time)=time+{} &'.format(time))
+        print(')')
         orsym = True
     print(';')