Skip to content

Instantly share code, notes, and snippets.

View z-shah's full-sized avatar

zaynab s shah z-shah

View GitHub Profile
for i, j in zip(range(1,8,2), range(3,-1,-1)):
print(i,j)
print(j*' '+ '*'*i + j*' ')
for i, j in zip(range(5,0,-2), range(1,4,1)):
print(i,j)
print(j*' '+ '*'*i + j*' ')
for i in range(1,8,2):
if i == 1:
print(' ' + '*'*i + ' ' )
elif i == 3:
print(' ' + '*'*i + ' ' )
elif i == 5:
print(' '+ '*'*i + ' ')
elif i == 7:
print('*'*i)
for a in range(5,0,-2):
import boto3
import json
import time
config = {
'tag': 'schedule',
'exclude': ['i-071a35b4439f1a581'],
'exclude-tag': '',
'default': '{"mon": {"start": 7, "stop": 19},"tue": {"start": 7, "stop": 19},"wed": {"start": 7, "stop": 19},"thu": {"start": 7, "stop": 19},"fri": {"start": 7, "stop": 19},"sat": {"start": 7, "stop": 19},"sun": {"start": 15, "stop": 16}}'
}