Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

구구단/S.S.S: Difference between revisions

From ZeroWiki
imported>Unknown
No edit summary
 
(Repair batch-0004 pages from live compare)
 
Line 1: Line 1:
[[송수생]]
[[송수생]]
[[구구단]]
[[구구단]]
[[데블스캠프2005/화요일]]에서 만든 [[Phyton]] 구구단 예제
[[데블스캠프2005/화요일]]에서 만든 Phyton 구구단 예제
----
----
== Phython ==
== Phython ==
Line 15: Line 15:
             print m,'*',n,'=',m*n,
             print m,'*',n,'=',m*n,
         print ''
         print ''

Latest revision as of 00:37, 27 March 2026

송수생 구구단 데블스캠프2005/화요일에서 만든 Phyton 구구단 예제


Phython

if __name__=='__main__':
    
    for n in range(1,10):
        for m in range(2,6):
            print m,'*',n,'=',m*n,
        print 
    print ' '
    for n in range(1,10):
        for m in range(6,10):
            print m,'*',n,'=',m*n,
        print