"파이썬 .items()"의 두 판 사이의 차이

8번째 줄: 8번째 줄:
</source>
</source>
<source lang='python' notebook>
<source lang='python' notebook>
print( list(d.items() )
print( list(d.items()) )
</source>
</source>
<source lang='python' notebook>
<source lang='python' notebook>

2021년 4월 10일 (토) 02:42 판

1 개요

Python .items()
파이썬 .items()
d = {'a':1, 'b':2}
print( d.items() )
print( list(d.items()) )
member = { 'ID' : 102, 'Name' : 'YONEZAWA Akinori', 'Address' : 'Naha, Okinawa' }
print( member.items() )
print( list(member.items()) )

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}