Write a Python program to print the following series till N terms: 1
3 2
6 5 4
Answers
Answered by
0
Answer:
Program to print the series 2, 1, 4, 3, 6, 5, …. up to N terms
Given a number N, the task is to print the below pattern upto N terms:
2, 1, 4, 3, 6, 5, …. N terms
Attention reader! Don’t stop learning now. Get hold of all the important mathematical concepts for competitive programming with the Essential Maths for CP Course at a student-friendly price. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course
Similar questions