Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below I have attached a screenshot of my code. The only problem I have is that the answer is not outputting in my text file.
Below I have attached a screenshot of my code. The only problem I have is that the answer is not outputting in my text file. It says my code is working but when I open the text file there is no answer. If someone could help me figure out why that would be great!
X Spyder (Python 3.8) File Edit Search Source Run Debug Consoles Projects Tools View Help ESCE E ESP + C:\Users\Helena Kosanovic PYTHON HW\Lab 5 Homework C:\Users\Helena Kosanovic\PYTHON HW\Lab 5 Homework\wascallywabbits.py temp.py X CCNumbers.py X whileloop.py X DNADORNA.py X stringsofwords.py X readwriterosalind.py X wascallywabbits.py* # -*- coding: utf-8 -*. Source Console Object Usage 3 Created on Fri Mar 12 14:05:38 2021 @author: Helena Kosanovic ATIF Here you can get help of any object by pressing Ctrl+I in front of it, either on the Editor or the Console. Help can also be shown Variable explorer Help Plots Files O Console 1/A Homework') from math import sqrt # improves frunction by creating custom math.sqrt() data structure def k_recurrence_relation(n,k): ""Calculates fibonacci sequence and return appropriate result to main()** if nStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started