mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
Update 3n+1.py
Removed SyntaxError on Line 16!
This commit is contained in:
parent
a834326e0e
commit
14b5ac625b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user