The conversation between human and AI assistant.
[|Human|] Rewrite the code without using a for loop
[|AI|] You can accomplish the same task in a shorter and more efficient way using list comprehensions. Here is the rewritten code without using a for loop: 

```python
list1 = [1, 2, 3]
list2 = [i*2 for i in list1]
```
[|Human|] 
Rewrite the code without using a for loop