gatech-csl / jes

The Jython Environment for Students allows students to write Jython programs that can manipulate pictures, sounds, and videos.
http://mediacomputation.org/
59 stars 38 forks source link

keep output displaying on one line #107

Open wdleong opened 7 years ago

wdleong commented 7 years ago

How do you keep output displaying on one line in Jython? For instance, in Python, one would write

for i in range(3) print(i, end = " ")

In Jython Environment for Students (JES), I'm showing an error.

Thanks.

mjguzdial commented 7 years ago

That's Python 3 syntax. JES is still Python 2.


From: wdleong notifications@github.com Sent: Monday, February 27, 2017 11:31:39 AM To: gatech-csl/jes Cc: Subscribed Subject: [gatech-csl/jes] keep output displaying on one line (#107)

How do you keep output displaying on one line in Jython? For instance, in Python, one would write

for i in range(3) print(i, end = " ")

In Jython Environment for Students (JES), I'm showing an error.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/gatech-csl/jes/issues/107, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AELfpol4J7hRwyiy59BXCkkpv-W5FHGjks5rgvprgaJpZM4MNU1G.