subject

I need help with 9.4.6 here is my code... dictionary = {}
text = input("Enter some txet: ")
text = text. split()
for word in text:
if word in dictionary:
dictionary[word] = dictionary[word] + 1
else:
print(dictionary)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
What are the advantages of google cloud ?
Answers: 2
question
Computers and Technology, 22.06.2019 08:00
What is the algorithm for building a binary tree program
Answers: 2
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
You know the right answer?
I need help with 9.4.6 here is my code... dictionary = {}
text = input("Enter some txet: ")<...
Questions
question
Mathematics, 23.08.2019 01:20
Questions on the website: 13722363