mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-27 18:43:52 +08:00
Modernize Python 2 code to get ready for Python 3
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
from __future__ import print_function
|
||||
largest_number = 0
|
||||
pre_counter = 0
|
||||
|
||||
@ -17,4 +18,4 @@ for input1 in range(750000,1000000):
|
||||
largest_number = input1
|
||||
pre_counter = counter
|
||||
|
||||
print('Largest Number:',largest_number,'->',pre_counter,'digits')
|
||||
print(('Largest Number:',largest_number,'->',pre_counter,'digits'))
|
||||
|
Reference in New Issue
Block a user