Question: 1- (Geometric Sequence) Write a Python program geo_seq.py that calculated the following sequence for input n which will be provided by user as command-line argument.

1- (Geometric Sequence) Write a Python program geo_seq.py that calculated the following sequence for input n which will be provided by user as command-line argument. g(r) 31 -+ 3+2n $ python geo_sec .py 5 9.46875 2- (Fibonacci) Write a Python program fibonacci.py that takes an integer n as command-line argument and writes the first n numbers of Fibonacci sequence. Note: The first two numbers in Fibonacci sequence are 1. Each number is found by adding up the two numbers before it (1,1,2,3,5,8,13..). $python fibonnaci.py 10 1,1,2,3,5,8,13,21,34,55 3- (Find Duplicate) Write a Python program find duplicate.py that finds duplicate characters inside string input. The program for input string "programming" should return r,g and m $ python find_duplicate.py programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
