Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 749 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 749 Bytes

TickTock - Pyhton Example


Count to 100, Tick on all numbers divisible by three,
Tock on all numbers that are divisble by 5.
if the number is divisible by both then print TickTock

  e.g.

     1
     2
     tick(3)
     4
     tock(5)
     tick(6)
     7
     8
     tick(9)
     tock(10)