sequence

CF

Collatz Sequence

number N is passed as the input. The program must print the number of steps required for the program to reach Collatz sequence (that is reach…
PythonF

Fibonacci Sequence

An integer value N is passed as the input. The program must print the first N terms in the Fibonacci sequence. Input Format: The first line…