1.

Solve the following programs: WAP to print last 10 three digits odd numbers.Wap to accept speed and time for 20 different cabs, findout their distances.Wap to print all even numbers between a given range.Wap to print the series 1, X, X^2, X^3... Nth termsplease solve this for me​

Answer»

start = 4, end = 15Output: 5, 7, 9, 11, 13, 15Input: start = 3, end = 11Output: 3, 5, 7, 9, 11# Python PROGRAM to print ODD Numbers in given rangestart, end = 4, 19# iterating each number in listfor num in RANGE(start, end + 1):# checking conditionif num % 2 != 0:print(num, end = " ")



Discussion

No Comment Found