diff --git a/tulpe_with_generater.py b/tulpe_with_generater.py new file mode 100644 index 0000000..1c631ae --- /dev/null +++ b/tulpe_with_generater.py @@ -0,0 +1,5 @@ +import random + +tp = (random.randint(0, 100) for _ in range(1000)) + +print(list(filter(lambda x : x % 2, tp))) \ No newline at end of file