Question: Hi I am writing a python program to print out look like this (my code is below) import numpy as np iris = np.genfromtxt('/Users/superman/Downloads/words_file.txt', delimiter=',',
Hi I am writing a python program to print out look like this (my code is below)
import numpy as np iris = np.genfromtxt('/Users/superman/Downloads/words_file.txt', delimiter=',', dtype=str) iris=iris.reshape(300,1)

I am stuck from here
1.I have to add lower case right next to Uppercase of word and
2. I have to use dictionary to count (from a to z) how many words in there....also for this question I can import numpy.
3.At the end of dictionary I have to add length of words
for instance Abject counts as 6 lengths. Please help me to solve this problem

In [601: import numpy as np iris np. genfrontxt('/Users/yanghaneul/Downloads/words-file.txt', iris-iris.reshape (300,1) iris delimiter-.., dtype-str) Out [ 601: array'Abject', I 'Aberration'1, 'Abjure, [ 'Abnegation' ], I 'Abrogate'1 'Abscond', I 'Abstruse', [ 'Accede, 'Accost', 'Accretion'], Acumen', I'Adamant', [ 'Admonish'], [ 'Adumbrate'], Adverse'1, 'Advocate', ['Affluent, [ 'Aggrandize'], [ 'Alacrity'], 'Abject' 'abject 61 ['Aberration 'aberration 101 ['Abjure' 'abjure' 61
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
