Hi guys. I’m having problems getting past the first end of the module project for python 3. New to programming as well so any help would be appreciated.
1/16/2021 9:47:02 PM
Onianwa Ikechukwu Christopher17 Answers
New AnswerǺĦmệdḋ Mohamed Ramadan # The shortest Fibonacci's series calculator I could make without external libraries. # Only 4 rows; since it's ultra compact it doesn't have controls of some sort. # # Inspired by Sailesh Kumar's comment in tuple unpacking in the Python course. a, b, n = 0, 1, int(input("")) for i in range (n): print(a) a, b = b, a+b
It's fine if you are a beginner. https://code.sololearn.com/cJSlK0D24SPT/?ref=app Check this out if you have a problem👆
Write a program to take two integers as input and output their sum.
The Fibonacci sequence is one of the most famous formulas in mathematics. Each number in the sequence is the sum of the two numbers that precede it. For example, here is the Fibonacci sequence for 10 numbers, starting from 0: 0,1,1,2,3,5,8,13,21,34. Write a program to take N (variable num in code template) positive numbers as input, and recursively calculate and output the first N numbers of the Fibonacci sequence (starting from 0). Sample Input 6 Sample Output 0 1 1 2 3 5 i want the answer
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message