You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finished the syntax overall for all questions. Updated the report generation specifically for page 3 to have less spaces. Capable of running all currently obtained applications from the beginning of this year till now.
'3': 'Spouse or Dependen of Veteran or Current Service Member',
345
-
'4': 'Spouce or dependent of, or a veteran or current U.S. military servicemember with injury or illness resulting from military service (service-connected injury/illness)',
346
-
'5': 'Spouse or dependent of deceased US servicemember'
368
+
'1': '\nVeteran',
369
+
'2': '\nCurrent US Miliary Service Member',
370
+
'3': '\nSpouse or Dependen of Veteran or Current Service Member',
371
+
'4': '\nSpouce or dependent of, or a veteran or current U.S. military servicemember with injury or illness',
372
+
'4+': 'resulting from military service (service-connected injury/illness)',
373
+
'5': '\nSpouse or dependent of deceased US servicemember'
347
374
}
348
-
print(_list, '\n')
349
375
350
376
target=str(_list[-1]).replace("\\", "")
351
377
352
-
output= [str(d) fordintarget]
353
-
print(output)
378
+
output= [str(val) forvalintarget]
379
+
380
+
foridxinrange(len(output)):
381
+
ifoutput[idx] =='4':
382
+
output.insert(idx+1, '4+')
383
+
354
384
355
-
356
385
foridxinrange(len(output)):
357
386
forkey, valueinsyntax.items():
358
387
ifkey==output[idx]:
359
388
output[idx] =value
360
-
361
-
389
+
362
390
iflen(output) ==1:
363
391
return ['U.S. Military-Veteran Status?',
364
392
f'{output}']
365
393
eliflen(output) ==2:
366
394
return ['U.S. Military-Veteran Status?',
367
395
f'{output[0]}', f'{output[1]}']
396
+
eliflen(output) ==3:
397
+
return ['U.S. Military-Veteran Status?',
398
+
f'{output[0]}', f'{output[1]}', f'{output[2]}']
399
+
400
+
defhome_syntax(self, _list: list) ->list:
401
+
402
+
if_list[3] !='HOME SCHOOLED':
403
+
return
404
+
405
+
syntax= {
406
+
'N': 'No',
407
+
'Y': 'Yes'
408
+
}
409
+
410
+
target=str(_list[-1]).replace("\\", "")
411
+
412
+
forkey, valueinsyntax.items():
413
+
ifkey==target:
414
+
target=value
415
+
416
+
return ['Home Schooled?',
417
+
f'{target}']
418
+
419
+
defsuspension_syntax(self, _list: list) ->list:
420
+
421
+
if_list[3] !='CURRENT ACADEMIC SUSP':
422
+
return
423
+
424
+
syntax= {
425
+
'N': 'No',
426
+
'Y': 'Yes'
427
+
}
428
+
429
+
target=str(_list[-1]).replace("\\", "")
430
+
431
+
forkey, valueinsyntax.items():
432
+
ifkey==target:
433
+
target=value
434
+
435
+
return ['5. Are you currently on academic suspension from the last college or univeristy attended?',
436
+
f'{target}']
437
+
438
+
defcollege_work_syntax(self, _list: list) ->list:
439
+
440
+
if_list[3] !='COLLEGE WORK':
441
+
return
442
+
443
+
target=str(_list[-1]).replace("\\", "")
444
+
445
+
syntax= {
446
+
'N': 'No',
447
+
'Y': 'Yes'
448
+
}
449
+
450
+
forkey, valueinsyntax.items():
451
+
ifkey==target:
452
+
target=value
453
+
454
+
return ['Will you have college credit hours by high school graduation date, if so how many?',
455
+
f'{target}']
456
+
457
+
deffamily_obj_syntax(self, _list: list) ->list:
458
+
459
+
if_list[3] !='FAMILY OBLIGATIONS':
460
+
return
461
+
462
+
target=str(_list[-1]).replace("\\", "")
463
+
464
+
syntax= {
465
+
'N': 'No',
466
+
'Y': 'Yes'
467
+
}
468
+
469
+
forkey, valueinsyntax.items():
470
+
ifkey==target:
471
+
target=value
472
+
473
+
return ['Do you have family obligations that keep you from participating in extracurricular activities?',
474
+
f'{target}']
475
+
476
+
defapp_share_syntax(self, _list: list) ->list:
477
+
478
+
if_list[3] !='APPLICATION SHARING':
479
+
return
480
+
481
+
target=str(_list[-1]).replace("\\", "")
482
+
483
+
syntax= {
484
+
'N': 'No',
485
+
'Y': 'Yes'
486
+
}
487
+
488
+
forkey, valueinsyntax.items():
489
+
ifkey==target:
490
+
target=value
491
+
492
+
return ['Application sharing on denied admission?',
0 commit comments