Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
on_off
#python 2.7.12 for i in xrange(101): if (i%3 == 0 and i%5 == 0): print 'OnOff' elif (i%3 == 0): print 'On' elif (i%5 == 0): print 'Off' else: print i
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
binary
Numbers padding in Python
Cofe
Parity in Python
ab.py
single_digit
Decimal to Binary
mad libs game
L100
Lists
Please log in to post a comment.