MadeStone

Items() function in python

Просмотры:
35
Дата загрузки:
03.12.2023 20:30
Длительность:
00:04:57
Категория:
Обучение

Описание

In this video i have shared python tutorial: items() function in python
here is exact code i used for this video.
#items() in python
students = {'Student_1': 'Robin', 'Student_2': 'Bobby', 'Student_3': 'Rob'}

items() function
The items() method returns a view object. The view object contains the key-value pairs of the dictionary, as tuples in a list.
print(students.items())

for key,value in students.items():
print(f"the key is {key} and the value is {value}")


#pythontutorial #python-tutorial #python_tutorials .
▶▶▶Learn More◀◀◀
.
http://www.youtube.com/watch?v=koBXHK_XPMg

http://www.youtube.com/watch?v=OvAVDje9fWE

http://www.youtube.com/watch?v=mvCjAFC0mo4

http://www.youtube.com/watch?v=vm6TxMfZ11c

http://www.youtube.com/watch?v=MJeJyRPWWIE

http://www.youtube.com/watch?v=t8TqYdQ3r7s

http://www.youtube.com/watch?v=D4el9E6a2Hs

http://www.youtube.com/watch?v=hAesmJcw180

http://www.youtube.com/watch?v=f3LCD8v8l48

http://www.youtube.com/watch?v=zJw-5v-8VLw

http://www.youtube.com/watch?v=MGRIz9oBb2A

http://www.youtube.com/watch?v=0lUibcrggmA

http://www.youtube.com/watch?v=w4NFqIfuseg

http://www.youtube.com/watch?v=tKwS-Z4__ps

http://www.youtube.com/watch?v=TeZ55jQyOqI

http://www.youtube.com/watch?v=BJG0FG8Zk2Y

http://www.youtube.com/watch?v=7U9F4q-8TZg

http://www.youtube.com/watch?v=HVk2QOHwL4Y

http://www.youtube.com/watch?v=lAe-dcyev00

http://www.youtube.com/watch?v=9uUqGOcXdBY

Источники:

Рекомендуемые видео