b93a9d8e8faa115d06a6bd656f5bf0e91254c1de,maths/lucas_series.py,,,#,18
Before Change
if __name__ == "__main__":
limit = int(input("How many terms to include in Lucas series:"))
print("Lucas series:")
for i in range(limit):
print(recur_luc(i))
After Change
from doctest import testmod
testmod()
n = int(input("Enter the number of terms in lucas series:\n").strip() )
n = int(input("Enter the number of terms in lucas series:\n").strip())
print("Using recursive function to calculate lucas series:")
print(" ".join(str(recursive_lucas_number(i)) for i in range(n)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: TheAlgorithms/Python
Commit Name: b93a9d8e8faa115d06a6bd656f5bf0e91254c1de
Time: 2020-10-25
Author: kushagrabansalajmer@gmail.com
File Name: maths/lucas_series.py
Class Name:
Method Name:
Project Name: TheAlgorithms/Python
Commit Name: 369562a1e8a6a794167496f2cb9e225d4cf42b10
Time: 2020-05-07
Author: 49735721+mrmaxguns@users.noreply.github.com
File Name: ciphers/caesar_cipher.py
Class Name:
Method Name: main
Project Name: TheAlgorithms/Python
Commit Name: c6dd9753893533934c7804bb714bbce2de8dd1a7
Time: 2020-11-14
Author: posorio@sier.com.co
File Name: searches/ternary_search.py
Class Name:
Method Name: