0
Give example
Can anyone give a example about the repeat function?
6 odpowiedzi
+ 6
a=0
while a < 9:
print("is this good enough?")
a+=1
+ 6
oh.
poop.
idk.
:c
+ 2
I write my first code with itertools,please see in my profile and give me your comments.
+ 1
I mean is the repeat function in the itertools module
+ 1
:o
+ 1
https://docs.python.org/3/library/itertools.html?highlight=itertools%20repeat#itertools.repeat
There you go