Assignment 10.2 Python Data Structures | Coursera | PY4E | #mythoghts #assignment10.2

preview_player
Показать описание
Hello EveryOne. Welcome to #mythoughts.
.
.
------------------------Thanks for watching!!------------------------------------

PythonData Structures Assignment10.2 | Coursera|

Hello friends,
In this video we discussed about Coursera programming for everybody Assignment 10.2 answer other way it's known as Python Data Structures Chapter 10.2 Complete program
In this course Assignment (Exercise) are available in week 5 part. This is the eleventh assignment of this course.
--------------------------------------------------------------------
Subscribe My Channel !!
Share The video || Like ✓ || Comment!!
------------------------------------------------------------------------------
Tags:
#mythoughts
#assignment10.2
#pythondatastructures
#py4e #coursera
#specialization #course2
Рекомендации по теме
Комментарии
Автор

Could you please explain the dictionary part, I dont get it

intelblox
Автор

Sir could you pls tell what is the environment you're using..

niteeshchandrakolluri
Автор

I am getting error - "TypeError: 'list' object is not callable on line 10"
pls check my code and help me with this

fname = input("Enter file:")
fhand = open(fname)
list=list()
for line in fhand:
if line.startswith('From'):
if line.startswith('From: '):
continue
words=line.split()
list.append(words[5])
list1=list()
for hour in list1:
list1.append(hour[0:2])
dict1=dict()
for time in list1:
dic[time]=dic.get(time, 0)+1
for k, v in dict1.items():
print(k, v)

Caught_a_thought