import random

print("\tWelcome to Employee Wage Computation ")
ATTENDANCE = random.randint(0, 1)
DAY_HOURS = 8
WAGE_PER_HOUR = 20
PART_TIME_HOURS = 4
WORK_DAYS = 20
DAILY_WAGE = 20 * 8
PART_TIME_WAGE = 20 * 4
MONTHLY_FULL_WAGE = 20 * 20 * 8
MONTHLY_PART_TIME_WAGE = 20 * 20 * 4


def get_hours():

    daily_wage_full = 0
    daily_wage_part = 0
    present_count = 0
    day_daily_month_part = {}
    day_daily_month_full = {}
    for day in range(1, 21):
        random_number = random.randint(0, 1)
        if random_number == 1:
            present_count += 1
    for i in range(present_count):
        daily_wage_full += DAILY_WAGE
        daily_wage_part += PART_TIME_WAGE
    for i in range(1, present_count+1):
        day_daily_month_part['day' + str(i)] = PART_TIME_WAGE * i
        day_daily_month_full['day' + str(i)] = DAILY_WAGE * i

    if ATTENDANCE == 1:
        emp_type = random.randint(0, 1)
        break_hour = 0
        break_day = 0
        month_wage = 0
        if emp_type == 1:
            cont = random.randint(0, 1)
            for day in range(20):
                if cont == 1:
                    present_count += 1
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(" max hours or max day are reached ")
                    print("Full Time employee Total month wage when max hours or max day are reached : ", month_wage - 80)
                    break
                break_hour += 8
                break_day += 1
                month_wage += DAILY_WAGE
            print("full time Employee is Present...........!")
            print("Full Time employee Total day wage is : ", DAILY_WAGE)
            print("Full Time employee Total month wage is : ", MONTHLY_FULL_WAGE)
            print(" full time employee work hours for a month is : ", DAY_HOURS * WORK_DAYS)
            print("Full time employee present days total monthly wage is ", daily_wage_full)
            print("Full time employee daily and day wage")
            return day_daily_month_full

        else:
            month_wage = 0
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(" max hours or max day are reached ")
                    print("Part Time employee Total month wage when max hours or max day are reached : ", month_wage)
                    break
                break_hour += 4
                break_day += 1
                month_wage += DAILY_WAGE
            print("part time Employee is Present...........!")
            print("Part Time employee Total day wage is : ", PART_TIME_WAGE)
            print("Part Time employee Total month wage is : ", MONTHLY_PART_TIME_WAGE)
            print(" Part time employee work hours for a month is : ", PART_TIME_HOURS * WORK_DAYS)
            print("part time employee present days total monthly wage is ", daily_wage_part)
            print("Part time employee daily and day wage")
            return day_daily_month_part

    else:
        print("Employee is Absent.............!")


print(get_hours())

be5e0d07a25407355443cefd2b66553a233183dc
<mask token>

<mask token>
print('\tWelcome to Employee Wage Computation ')
<mask token>


def get_hours():
    daily_wage_full = 0
    daily_wage_part = 0
    present_count = 0
    day_daily_month_part = {}
    day_daily_month_full = {}
    for day in range(1, 21):
        random_number = random.randint(0, 1)
        if random_number == 1:
            present_count += 1
    for i in range(present_count):
        daily_wage_full += DAILY_WAGE
        daily_wage_part += PART_TIME_WAGE
    for i in range(1, present_count + 1):
        day_daily_month_part['day' + str(i)] = PART_TIME_WAGE * i
        day_daily_month_full['day' + str(i)] = DAILY_WAGE * i
    if ATTENDANCE == 1:
        emp_type = random.randint(0, 1)
        break_hour = 0
        break_day = 0
        month_wage = 0
        if emp_type == 1:
            cont = random.randint(0, 1)
            for day in range(20):
                if cont == 1:
                    present_count += 1
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Full Time employee Total month wage when max hours or max day are reached : '
                        , month_wage - 80)
                    break
                break_hour += 8
                break_day += 1
                month_wage += DAILY_WAGE
            print('full time Employee is Present...........!')
            print('Full Time employee Total day wage is : ', DAILY_WAGE)
            print('Full Time employee Total month wage is : ',
                MONTHLY_FULL_WAGE)
            print(' full time employee work hours for a month is : ', 
                DAY_HOURS * WORK_DAYS)
            print('Full time employee present days total monthly wage is ',
                daily_wage_full)
            print('Full time employee daily and day wage')
            return day_daily_month_full
        else:
            month_wage = 0
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Part Time employee Total month wage when max hours or max day are reached : '
                        , month_wage)
                    break
                break_hour += 4
                break_day += 1
                month_wage += DAILY_WAGE
            print('part time Employee is Present...........!')
            print('Part Time employee Total day wage is : ', PART_TIME_WAGE)
            print('Part Time employee Total month wage is : ',
                MONTHLY_PART_TIME_WAGE)
            print(' Part time employee work hours for a month is : ', 
                PART_TIME_HOURS * WORK_DAYS)
            print('part time employee present days total monthly wage is ',
                daily_wage_part)
            print('Part time employee daily and day wage')
            return day_daily_month_part
    else:
        print('Employee is Absent.............!')


print(get_hours())

<mask token>
print('\tWelcome to Employee Wage Computation ')
ATTENDANCE = random.randint(0, 1)
DAY_HOURS = 8
WAGE_PER_HOUR = 20
PART_TIME_HOURS = 4
WORK_DAYS = 20
DAILY_WAGE = 20 * 8
PART_TIME_WAGE = 20 * 4
MONTHLY_FULL_WAGE = 20 * 20 * 8
MONTHLY_PART_TIME_WAGE = 20 * 20 * 4


def get_hours():
    daily_wage_full = 0
    daily_wage_part = 0
    present_count = 0
    day_daily_month_part = {}
    day_daily_month_full = {}
    for day in range(1, 21):
        random_number = random.randint(0, 1)
        if random_number == 1:
            present_count += 1
    for i in range(present_count):
        daily_wage_full += DAILY_WAGE
        daily_wage_part += PART_TIME_WAGE
    for i in range(1, present_count + 1):
        day_daily_month_part['day' + str(i)] = PART_TIME_WAGE * i
        day_daily_month_full['day' + str(i)] = DAILY_WAGE * i
    if ATTENDANCE == 1:
        emp_type = random.randint(0, 1)
        break_hour = 0
        break_day = 0
        month_wage = 0
        if emp_type == 1:
            cont = random.randint(0, 1)
            for day in range(20):
                if cont == 1:
                    present_count += 1
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Full Time employee Total month wage when max hours or max day are reached : '
                        , month_wage - 80)
                    break
                break_hour += 8
                break_day += 1
                month_wage += DAILY_WAGE
            print('full time Employee is Present...........!')
            print('Full Time employee Total day wage is : ', DAILY_WAGE)
            print('Full Time employee Total month wage is : ',
                MONTHLY_FULL_WAGE)
            print(' full time employee work hours for a month is : ', 
                DAY_HOURS * WORK_DAYS)
            print('Full time employee present days total monthly wage is ',
                daily_wage_full)
            print('Full time employee daily and day wage')
            return day_daily_month_full
        else:
            month_wage = 0
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Part Time employee Total month wage when max hours or max day are reached : '
                        , month_wage)
                    break
                break_hour += 4
                break_day += 1
                month_wage += DAILY_WAGE
            print('part time Employee is Present...........!')
            print('Part Time employee Total day wage is : ', PART_TIME_WAGE)
            print('Part Time employee Total month wage is : ',
                MONTHLY_PART_TIME_WAGE)
            print(' Part time employee work hours for a month is : ', 
                PART_TIME_HOURS * WORK_DAYS)
            print('part time employee present days total monthly wage is ',
                daily_wage_part)
            print('Part time employee daily and day wage')
            return day_daily_month_part
    else:
        print('Employee is Absent.............!')


print(get_hours())

import random
print('\tWelcome to Employee Wage Computation ')
ATTENDANCE = random.randint(0, 1)
DAY_HOURS = 8
WAGE_PER_HOUR = 20
PART_TIME_HOURS = 4
WORK_DAYS = 20
DAILY_WAGE = 20 * 8
PART_TIME_WAGE = 20 * 4
MONTHLY_FULL_WAGE = 20 * 20 * 8
MONTHLY_PART_TIME_WAGE = 20 * 20 * 4


def get_hours():
    daily_wage_full = 0
    daily_wage_part = 0
    present_count = 0
    day_daily_month_part = {}
    day_daily_month_full = {}
    for day in range(1, 21):
        random_number = random.randint(0, 1)
        if random_number == 1:
            present_count += 1
    for i in range(present_count):
        daily_wage_full += DAILY_WAGE
        daily_wage_part += PART_TIME_WAGE
    for i in range(1, present_count + 1):
        day_daily_month_part['day' + str(i)] = PART_TIME_WAGE * i
        day_daily_month_full['day' + str(i)] = DAILY_WAGE * i
    if ATTENDANCE == 1:
        emp_type = random.randint(0, 1)
        break_hour = 0
        break_day = 0
        month_wage = 0
        if emp_type == 1:
            cont = random.randint(0, 1)
            for day in range(20):
                if cont == 1:
                    present_count += 1
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Full Time employee Total month wage when max hours or max day are reached : '
                        , month_wage - 80)
                    break
                break_hour += 8
                break_day += 1
                month_wage += DAILY_WAGE
            print('full time Employee is Present...........!')
            print('Full Time employee Total day wage is : ', DAILY_WAGE)
            print('Full Time employee Total month wage is : ',
                MONTHLY_FULL_WAGE)
            print(' full time employee work hours for a month is : ', 
                DAY_HOURS * WORK_DAYS)
            print('Full time employee present days total monthly wage is ',
                daily_wage_full)
            print('Full time employee daily and day wage')
            return day_daily_month_full
        else:
            month_wage = 0
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(' max hours or max day are reached ')
                    print(
                        'Part Time employee Total month wage when max hours or max day are reached : '
                        , month_wage)
                    break
                break_hour += 4
                break_day += 1
                month_wage += DAILY_WAGE
            print('part time Employee is Present...........!')
            print('Part Time employee Total day wage is : ', PART_TIME_WAGE)
            print('Part Time employee Total month wage is : ',
                MONTHLY_PART_TIME_WAGE)
            print(' Part time employee work hours for a month is : ', 
                PART_TIME_HOURS * WORK_DAYS)
            print('part time employee present days total monthly wage is ',
                daily_wage_part)
            print('Part time employee daily and day wage')
            return day_daily_month_part
    else:
        print('Employee is Absent.............!')


print(get_hours())

import random

print("\tWelcome to Employee Wage Computation ")
ATTENDANCE = random.randint(0, 1)
DAY_HOURS = 8
WAGE_PER_HOUR = 20
PART_TIME_HOURS = 4
WORK_DAYS = 20
DAILY_WAGE = 20 * 8
PART_TIME_WAGE = 20 * 4
MONTHLY_FULL_WAGE = 20 * 20 * 8
MONTHLY_PART_TIME_WAGE = 20 * 20 * 4


def get_hours():

    daily_wage_full = 0
    daily_wage_part = 0
    present_count = 0
    day_daily_month_part = {}
    day_daily_month_full = {}
    for day in range(1, 21):
        random_number = random.randint(0, 1)
        if random_number == 1:
            present_count += 1
    for i in range(present_count):
        daily_wage_full += DAILY_WAGE
        daily_wage_part += PART_TIME_WAGE
    for i in range(1, present_count+1):
        day_daily_month_part['day' + str(i)] = PART_TIME_WAGE * i
        day_daily_month_full['day' + str(i)] = DAILY_WAGE * i

    if ATTENDANCE == 1:
        emp_type = random.randint(0, 1)
        break_hour = 0
        break_day = 0
        month_wage = 0
        if emp_type == 1:
            cont = random.randint(0, 1)
            for day in range(20):
                if cont == 1:
                    present_count += 1
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(" max hours or max day are reached ")
                    print("Full Time employee Total month wage when max hours or max day are reached : ", month_wage - 80)
                    break
                break_hour += 8
                break_day += 1
                month_wage += DAILY_WAGE
            print("full time Employee is Present...........!")
            print("Full Time employee Total day wage is : ", DAILY_WAGE)
            print("Full Time employee Total month wage is : ", MONTHLY_FULL_WAGE)
            print(" full time employee work hours for a month is : ", DAY_HOURS * WORK_DAYS)
            print("Full time employee present days total monthly wage is ", daily_wage_full)
            print("Full time employee daily and day wage")
            return day_daily_month_full

        else:
            month_wage = 0
            for day in range(20):
                if break_day == 20 or break_hour >= 100:
                    print(" max hours or max day are reached ")
                    print("Part Time employee Total month wage when max hours or max day are reached : ", month_wage)
                    break
                break_hour += 4
                break_day += 1
                month_wage += DAILY_WAGE
            print("part time Employee is Present...........!")
            print("Part Time employee Total day wage is : ", PART_TIME_WAGE)
            print("Part Time employee Total month wage is : ", MONTHLY_PART_TIME_WAGE)
            print(" Part time employee work hours for a month is : ", PART_TIME_HOURS * WORK_DAYS)
            print("part time employee present days total monthly wage is ", daily_wage_part)
            print("Part time employee daily and day wage")
            return day_daily_month_part

    else:
        print("Employee is Absent.............!")


print(get_hours())
