Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to fix my python iteration? Thank you! Ikejrhg [~/Pycharm Projects/lkejrhg] - .../iuh.py ( iuh - Q I 1: Project Ikejrhg te iuh.py Proj... *

image text in transcribedHow to fix my python iteration?

Thank you!

Ikejrhg [~/Pycharm Projects/lkejrhg] - .../iuh.py ( iuh - Q I 1: Project Ikejrhg te iuh.py Proj... * - lkejrhg -/Pycharm Pro 1 veny bin 4 include lib Lokbsk.py #pyvenv.cfg i7y43.py te iuh.py lli External Libraries Po Scratches and Console i7y43.py x lekbsk.py x fe iuh.py i def f(n): if n=1 or n=2: return 1; else: f(n)=f(n-1)+f(n-2) No print(f(7)) * 2: Favorites Run: f() > if n juh x File "/users/aileenyoyo Li/Pycharmprojects/LKerng/lun.py", line 5 f(n)=f(n-1)+f(n-2) - SyntaxError: can't assign to function call .. 7: Structure Process finished with exit code 1 >> >> Python Console 4: Run 6: TODO Terminal Colon expected Event Log 4 spaces Python 3.7 (Ikejrhg) O 2:16 LF UTF-8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

b. What are its goals and objectives?

Answered: 1 week ago