0% found this document useful (0 votes)
9 views1 page

Online Python Compiler (Interpreter) - Programiz

Uploaded by

zyx100089
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Online Python Compiler (Interpreter) - Programiz

Uploaded by

zyx100089
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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)

You might also like