12 Oct Aurora Saturday 14:30 Python Homework 10.12.
Question 1:
Write a Python program to get the Fibonacci series between 0 to 100.
Note : The Fibonacci Sequence is the series of numbers, the first two numbers are 0 and 1 :
0, 1, 1, 2, 3, 5, 8, 13, 21, ….
Every next number is found by adding up the two numbers before it.
Expected Output :
0 1 1 2 3 5 8 13 21 34 55 89
Question 2:
Write a Python program that accepts a string and calculate the number of digits and letters.
Sample Input :
Python 3.2
Expected Output :
Letters: 6
Digits: 2
Sorry, the comment form is closed at this time.