mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
sample/fib.py: Fix syntax error in Python 3 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a57acb731a
commit
d1dce26b94
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ def fib(n):
|
|||
else:
|
||||
return fib(n-2)+fib(n-1)
|
||||
|
||||
print fib(20)
|
||||
print(fib(20))
|
||||
|
||||
|
|
Loading…
Reference in a new issue