Python Program to print all permutations using those three variables a,b,c=0,0,0. Output : 000,001,…… 999


for i in range (10):

     for j in range(10):

         for k in range (10):

            x=str(i)+str(j)+str(k)

            print (x)

Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.