In [1]:
from datetime import datetime
from datetime import timedelta
import random

now=datetime.now()
roas=600

while roas>=500:    
    print('{}{}일 ROAS : {}%, 광고Live'.format(now.strftime('%m'),now.strftime('%d'),roas))
    roas=random.randint(450,800)
    now=now+timedelta(days=1)
    print('#'*31)
else : 
    print('{}{}일 ROAS : {}%, 광고종료'.format(now.strftime('%m'),now.strftime('%d'),roas))
06월 20일 ROAS : 600%, 광고Live
###############################
06월 21일 ROAS : 697%, 광고Live
###############################
06월 22일 ROAS : 767%, 광고Live
###############################
06월 23일 ROAS : 519%, 광고Live
###############################
06월 24일 ROAS : 483%, 광고종료