Skip to content

Commit 50f5db1

Browse files
authored
Create 6.py
1 parent 2f7b0d7 commit 50f5db1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

5/6.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
INF = 999999999 # 무한의 비용 선언
2+
3+
# 2차원 리스트를 이용해 인접 행렬 표현
4+
array = [
5+
[0, 7, 5],
6+
[7, 0, INF],
7+
[5, INF, 0]
8+
]
9+
10+
print(array)

0 commit comments

Comments
 (0)