Question: #This program should display every combination of three digits. ie 0 0 0 to 9 9 9 . starts off with 0 0 0 then

#This program should display every combination of three digits. ie 000 to 999. starts off with 000 then 001002 #goes all the way to 999
#If the values go outside of those ranges, then the program is wrong
digit1=0
digit2=0
digit3=0
while(digit1=9):
while(digit2=9):
while(digit39):
print(digit1, digit2,digit3)
digit1= digit1+1
digit2= digit2+1
digit 3=digit3+
 #This program should display every combination of three digits. ie 000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!