File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,12 @@ def main():
1818 to_print = "{}" .format (coin )
1919 print ("| " + to_print + " |" )
2020 return coin
21-
2221
23- coin_list = [] # here we defined an empty list for saving our generated numbers/coins
24- for i in range (10 ): # for producing 10random numbers/coin used for loop
25- coin_list .append (main ()) # generated coins/number added in the list
26- print ('Quantum Coin' , coin_list ) # printed on the secreen
22+
23+ if __name__ == '__main__' :
24+ coin_list = [] # here we defined an empty list for saving our generated numbers/coins
25+ for i in range (10 ): # for producing 10random numbers/coin used for loop
26+ coin_list .append (main ()) # generated coins/number added in the list
27+ print ('Quantum Coin' , coin_list ) # printed on the secreen
2728
2829##################################################################################################
You can’t perform that action at this time.
0 commit comments