Instead of: newlist = [] for i in range(1, 100): if i % 2 == 0: newlist.append(i**2)
Instead of: newlist = [] for i in range(1, 100): if i % 2 == 0: newlist.append(i**2)
0
Source: betterprogramming.pub
- 0 vote170 views1 answer
- 7 votes156 views3 answers
- 0 vote176 views1 answer
- 0 vote164 views1 answer
- 0 vote159 views1 answer
- 1 vote179 views1 answer
- 0 vote187 views1 answer
- 1 vote199 views1 answer
- -1 vote180 views1 answer
- 0 vote173 views1 answer