mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
New == syntax
This commit is contained in:
parent
4d8e859e8f
commit
bdfcfccbe5
73 changed files with 419 additions and 391 deletions
|
@ -19,7 +19,7 @@ def main():
|
|||
# Print common digits
|
||||
d, d1 = a/b, a1/b1
|
||||
#print a, b, a1, b1
|
||||
while d = d1:
|
||||
while d == d1:
|
||||
# Use write() to avoid spaces between the digits
|
||||
sys.stdout.write(`int(d)`)
|
||||
# Flush so the output is seen immediately
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue