Q. Suppose L = [10, ["few", "facts", "fun"], 3, 'Good']

Consider the above list and answer the following:

(i) L [3:]

(ii) L [:: 2]

(iii) L [1:2]

(iv) L [1] [1]


Answer :-

i = ['Good']
ii = [10, 3]
iii = [['few', 'facts', 'fun']]
iv = 'facts'

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. 𝙳𝚘𝚗𝚊𝚝𝚎 𝚋𝚞𝚝𝚝𝚘𝚗 𝚗𝚘𝚝 𝚠𝚘𝚛𝚔𝚒𝚗𝚐 𝚙𝚊𝚢𝚖𝚎𝚗𝚝 𝚌𝚗𝚌𝚕𝚎𝚍 𝚜𝚑𝚘𝚠𝚒𝚗𝚐𝚜

    ReplyDelete
    Replies
    1. It working properly. Please try it with another payment method.

      Delete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post