@mvaganov/

fperiod_counting

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.18645319234452384","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"cHJpbnQoImhlbGxvKDApIikKcHJpbnQoImhlbGxvKDEpIikKcHJpbnQoImhlbGxvKDIpIikKcHJpbnQoImhlbGxvKDMpIikKcHJpbnQoImhlbGxvKDQpIikKcHJpbnQoImhlbGxvKDUpIikKCmNvdW50ZXIgPSAwCndoaWxlIGNvdW50ZXIgPD0gNToKICAgIHByaW50KCJoZWxsbygiK3N0cihjb3VudGVyKSsiKSIpCiAgICBjb3VudGVyICs9IDEKCmRlZiBtdXRsaXBsZVJvdyhtdWx0aXBsZSk6CiAgICBjb3VudGVyID0gbXVsdGlwbGUKICAgIHBhZ2UgPSAiIgogICAgd2hpbGUgY291bnRlciA8PSBtdWx0aXBsZSAqIDEwOgogICAgICAgIHBhZ2UgKz0gIiU0aSIgJSBjb3VudGVyCiAgICAgICAgY291bnRlciArPSBtdWx0aXBsZQogICAgcHJpbnQocGFnZSkKbXV0bGlwbGVSb3coNyk="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
print("hello(0)")
print("hello(1)")
print("hello(2)")
print("hello(3)")
print("hello(4)")
print("hello(5)")

counter = 0
while counter <= 5:
    print("hello("+str(counter)+")")
    counter += 1

def mutlipleRow(multiple):
    counter = multiple
    page = ""
    while counter <= multiple * 10:
        page += "%4i" % counter
        counter += multiple
    print(page)
mutlipleRow(7)