Build faster, better full
functioning ERP
Odoo ERP Implementation system. Hire our 45+ Open Programiz PRO ›
atharvasystem.com certi=ed Odoo
Python Online Compiler
experts.
main.py Run Output Clear
1 def phi(a): 0
2 flag = False
3 count = 0
4 for num_compare in range(1,a+1):
5 for num_divide in range(1,num_compare+1):
6 if a % num_divide != 0 and num_compare %
num_divide != 0:
7 flag = True
8 else:
9 flag = False
10 if flag == True:
11 count += 1
12 print(count)
13 phi(15)