Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

instead of: newlist = [] for i in range(1, 100): if i % 2 == 0: newlist.append(i**2)

Leif Georg answered on June 10, 2021 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • create list in range
  • add value with n variable with Arraylist in java
  • arraylist how to add at 0 java
  • append to a list without intializing
  • append to a list without intializing
  • python list insert out of range

  • instead of: newlist = [] for i in range(1, 100): if i % 2 == 0: newlist.append(i**2)

    0
    Popularity 1/10 Helpfulness 1/10 Language python
    Tags: python
    Link to this answer
    Share Copy Link
    Contributed on Jun 10 2021
    Leif Georg
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.