~cpp
if __name__ == '__main__':
for n in range (10):
print 2,'X',n,'=',2*n,' ',3,'X',n,'=',3*n,' ',4,'X',n,'=',4*n,' ',5,'X',n,'=',5*n
for n in range (10):
print 6,'X',n,'=',6*n,' ',7,'X',n,'=',7*n,' ',8,'X',n,'=',8*n,' ',9,'X',n,'=',9*n
Retrieved from http://wiki.zeropage.org/wiki.php/구구단/조현태 last modified 2021-02-07 05:28:45