Computer Science, asked by hoodajatin063, 2 months ago

w.a.p to print the following series 2,4,6,8,10,12​

Answers

Answered by IIAstuteIshII
3

ɧɛƖƖơ ɱąɬɛ

ɬɧıʂ ıʂ ųʂıŋɠ ℘ყɬɧơŋ

Answer:

________________________

# ᴘʀᴏɢʀᴀᴍ ᴛᴏ ᴘʀɪɴᴛ ᴛʜᴇ ɢɪᴠᴇɴ sᴇʀɪᴇs

for i in range (1,7):

   print(2*i , end=" ")

________________________

Fᴏʀ ᴘʀɪɴᴛɪɴɢ ᴛʜᴇ ɢɪᴠᴇɴ sᴇʀɪᴇs ᴜᴘᴛᴏ ᴛʜᴇ ʀᴀɴɢᴇ ɪɴᴘᴜᴛ ʙʏ ᴛʜᴇ ᴜsᴇʀ

n=int(input("enter the range"))

for i in range(1,n+1):

   print(2*i , end=" ")

________________________

ɧơ℘ɛ ıɬ ɧɛƖ℘ʂ ყơų  ☺

Similar questions