w.a.p to print the following series 2,4,6,8,10,12
Answers
Answered by
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
English,
1 month ago
Social Sciences,
1 month ago
Art,
2 months ago
Math,
2 months ago
Science,
9 months ago
India Languages,
9 months ago