E1 Fresco Prob3 Correct
E1 Fresco Prob3 Correct
/bin/python3
import math
import os
import random
import re
import sys
#
# Complete the 'primegenerator' function below.
#
# The function is expected to return an INTEGER.
# The function accepts following parameters:
# 1. INTEGER num
# 2. INTEGER val
#
if val==1:
for item in arr_0:
yield item
if val == 0:
for item1 in arr_1:
yield item1
if __name__ == '__main__':