Update 3n+1.py

Removed SyntaxError on Line 16!
This commit is contained in:
Harshil 2018-11-04 15:54:17 +01:00 committed by GitHub
parent a834326e0e
commit 14b5ac625b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ def main():
return l , c
print(n31(43))
print(n31(98)[0][-1])# = a
print("It took {0} steps.".format(n31(13))[1]))#optional finish
print("It took {0} steps.".format(n31(13)[1]))#optional finish
if __name__ == '__main__':
main()