Give example | Sololearn: Learn to code for FREE!

0

Give example

Can anyone give a example about the repeat function?

1/9/2017 10:40:16 AM

Armand Dwi

6 Answers

New Answer

+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

+1

https://docs.python.org/3/library/itertools.html?highlight=itertools%20repeat#itertools.repeat There you go