Skip to content

Commit 0690c8f

Browse files
committed
Empty script
1 parent 7f235e8 commit 0690c8f

File tree

1 file changed

+4
-69
lines changed

1 file changed

+4
-69
lines changed

web/empty_script.py

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# This is an empty Python script.
22
# It is here, so it tricks GitHub into thinking that this is a Python project.
33
# But because GitHub counts characters, we have to fill it with something.
4-
54
# How about:
5+
66
from math import sin, pi
7+
78
LEN = 40
8-
wave = ['#' * (1 + round(amp * (1+sin(i/resolution*2*pi))))
9-
for resolution, amp in zip(range(10, 10+LEN, 2), range(2, 2+LEN, 2))
9+
wave = ['#' * (1 + round(amp * (1+sin(i/resolution*2*pi))))
10+
for resolution, amp in zip(range(10, 10+LEN, 2), range(2, 2+LEN, 2))
1011
for i in range(resolution)]
1112
print('\n'.join(wave))
1213

@@ -1210,44 +1211,6 @@
12101211
#
12111212
#
12121213
#
1213-
#
1214-
#
1215-
#
1216-
#
1217-
#
1218-
#
1219-
#
1220-
#
1221-
#
1222-
#
1223-
#
1224-
#
1225-
#
1226-
#
1227-
#
1228-
#
1229-
#
1230-
#
1231-
#
1232-
#
1233-
#
1234-
#
1235-
#
1236-
#
1237-
#
1238-
#
1239-
#
1240-
#
1241-
#
1242-
#
1243-
#
1244-
#
1245-
#
1246-
#
1247-
#
1248-
#
1249-
#
1250-
#
12511214
##
12521215
####
12531216
#######
@@ -3458,34 +3421,6 @@
34583421
###
34593422
##
34603423
#
3461-
#
3462-
#
3463-
#
3464-
#
3465-
#
3466-
#
3467-
#
3468-
#
3469-
#
3470-
#
3471-
#
3472-
#
3473-
#
3474-
#
3475-
#
3476-
#
3477-
#
3478-
#
3479-
#
3480-
#
3481-
#
3482-
#
3483-
#
3484-
#
3485-
#
3486-
#
3487-
#
3488-
#
34893424
##
34903425
####
34913426
#######

0 commit comments

Comments
 (0)