Write A List Comprehension For Number And Its Cube Forp Pre #523
Write a list comprehension for number and its cube for:</p> <pre><code class="language-python">l=[1, 2, 3, 4, 5, 6, 7, 8, 9]</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Sets - Python Sets - Quiz No.4.
Write a list comprehension for number and its cube for:
l=[1, 2, 3, 4, 5, 6, 7, 8, 9]
[x**3 for x in l]
[x^3 for x in l]
[x**3 in l]
[x^3 in l]