It is very hard to master any of programming language and many students have troubles with it. That is why we have decided to render assistance for those who have difficulties with Python. Python problems are very common among students. They are tired of constant Python questions and try to find the Python answers. Ask your questions here and be sure to get the 100% truthful answers. The only thing you will have to do – is to send the request with Python questions and to have no hesitation that all your Python questions will be satisfied.
Ask Your question
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Search & Filtering
Input: a set of documents
Your program will read a set of documents (Word or pdf or text files) from a folder
1- tf_list.csv: Most frequent 50 words in the input set of documents,
2- tf_wordCloud.pdf: Word cloud of the these words
3- tfidf_list.csv: Most frequent 50 words in the input set of documents, sorted descending by their term frequency*inverse document frequency (tf-idf) coupled with their tf-idf values (comma seperated file, example: document;2.8)
Write a program that displays a salary schedule, in tabular format, for teachers in a school district. The inputs are the starting salary, the percentage increase, and the number of years in the schedule. Each row in the schedule should contain the year number and the salary for that year.
when opening a file, the “wt” parameter indicated that we:
want to append to the end of the text file.
want to write data to a text file.
that we are opening a binary file.
that we are reading from a text file.
The time complexity of all single statements is constant
According to the Big O Notation, the time complexity of some statements can be said to be logarithmic
Time complexity can only be expressed by using the Big O notation
Time complexity can be expressed as a differential equation
The time complexity of an algorithm can vary over time
Quadratic time complexity can be expressed as a quadratic equation
Enter the starting number: 2 Enter the ending number: 4
The total is 9
print ("Enter 2 to calculate the surface area of a sphere")
print ("Enter 3 to calculate the volume of a sphere")
print ("Enter 4 to quit")
Assuming the choice is 1-3, ask the user for the radius. If the user enters a string that cannot be interpreted
as a number, display the error message: Radius needs to be a number. If the user enters a nonpositive
number, display the error message: The radius has to be positive. Once you have a
positive radius, for choice 1, calculate the area of a circle by calling a function that calculates and returns the
area. For choice 2, calculate the surface area of a sphere by calling a function that calculates and returns
the surface area. For choice 3, calculate the volume of sphere by calling a function that calculates and
returns the volume. Your program should continue to display the menu, error check, and make calculations,
until the user enters choice 4.
and strings. First, ask how many sentences the user wants to store. You can assume that you will get an
integer, but if it is non-positive, default to the value of 5. Next, get the user input (i.e. the sentences) and
store them in your list in all lower-case letters. You can assume that the user will enter sentences without
the . at the end.
Next, you will loop the same number of times as the number of sentences in your list and in each iteration
you will display the following menu:
print ("Enter 1 to see a sentence")
print ("Enter 2 to see the whole list")
print ("Enter 3 to change a sentence")
print ("Enter 4 to switch words")
print ("Enter 5 to count letters")
You can assume that the user will enter an integer. Below is what you should do depending on the choice.
mathematical operations. The only valid choices are: add, subtract, multiply, or divide (use true division and
not integer division). The user can type the operation using any combination of upper case and lower case
letters. If the user types in an operation that is not defined, the program should simply tell the user the
operation is not a valid operation (See sample run 1). Assuming the user’s operation is defined, you will
perform the operation, print the operands, print the operation (the way the user typed it), and the result. If the
second integer input is zero and the desired operation is division, don’t print the result, instead print that
“Division by zero is not allowed” (See sample run 2). After printing the result, display a line and print out any
of the three messages below that is true:
Both operands were negative
Both operands were positive
The result has three or more digits in it