def banner():
    hr_yogi()
    pyogclr.print_fail('. THIS PROGRAM HAS DEFAULT VALUE')
    pyogclr.print_info('.  YOU CAN CUSTOMIZE with [*] CHOOSE : dspolnes')
    pyogclr.print_info(
        '.  YOU CAN RESET CUSTOMIZE TO DEFAULT with [*] CHOOSE : reset')
    hr_yogi()
    pyogclr.print_warn(
        'Birt Of Date : 15 march 1999 \t x = { 1 5 0 3 9 9 } \t n = { 0 1 2 3 4 5}')
    pyogclr.print_info(figlet_format('        DSP-Mr-Day     '))
    pyogclr.print_warn(
        'NAME: Yogi Arif Widodo \t\t NIM: 17 615 006 \t CLASS: TI(4A)')
    hr_yogi()
Exemplo n.º 2
0
from color import ColorPrint as warna

warna.print_fail('Error')
warna.print_bold('bold')
warna.print_info('info')
warna.print_pass('pass')
warna.print_warn('Warn')
warna.print_info("Grafis Runtun Descret")
def customizeValue(x, n):
    yogiClear()
    banner()
    pyogclr.print_bold('output will execute with custome')
    print('\t\tnilai x = ', x)
    print('\t\tNilai n = ', n)
    pyogclr.print_info(
        '.  YOU CAN RESET CUSTOMIZE TO DEFAULT with [*] CHOOSE : reset')
    bannerProgram()
    ioMenu = input('.\n. \t\t\t [*].Choose : ')
    '''
        Action Menu Program with direct value { custome dspolnes }
    '''
    if ioMenu == 'dspolnes':
        ioGrafis()
    elif ioMenu == 'reset':
        start()
    elif ioMenu == '1':
        # clearscreen
        yogiClear()
        # banner
        banner()
        # function
        tabularFormCustome(x, n)
    elif ioMenu == '2':
        yogiClear()
        banner()
        bentukFxnCustome(x, n)
    elif ioMenu == '3':
        yogiClear()
        banner()
        yoGrafisCustome(x, n)
        yogiAskCustome(x, n)
    elif ioMenu == '4':
        yogiClear()
        banner()
        # yoGrafisBeda()
        yoGrafisBedaCustome(x, n)
        yogiAskCustome(x, n)
        # differentialEquationCustome(x, n)
    elif ioMenu == '5':
        yogiClear()
        banner()
        nomorLimaCustome(x, n)
        yogiAskCustome(x, n)
    elif ioMenu == '6':
        yogiClear()
        banner()
        nomorEnamCustome(x,n)
        yogiAskCustome(x, n)
    elif ioMenu == '7':
        yogiClear()
        banner()
        nomorTujuhCustome(x,n)
        yogiAskCustome(x, n)
    elif ioMenu == '8':
        yogiClear()
        banner()
        yoFourierCustome(x,n)
        # y/n [against|exit]
        yogiAskCustome(x, n)
    elif ioMenu == '9':
        yogiClear()
        banner()
        yoTransz()
        yogiAskCustome(x, n)
    elif ioMenu == '10':
        yogiClear()
        banner()
        pyogclr.print_fail('this function doesnt support on python | still development')
        yogiAsk()
    elif ioMenu == '11':
        yogiClear()
        banner()
        pyogclr.print_fail('this function doesnt support on python | still development')
        yogiAsk()
    else:
        pyogclr.print_bold('still development choose other menu')
def hr_yogi():
    pyogclr.print_info(figlet_format('____________'))