1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
RUDIKE [14]
3 years ago
9

Which function converts the users input to a number without a decimal?

Computers and Technology
1 answer:
sertanlavr [38]3 years ago
6 0

Answer:

Explanation: integer is the meaning of int() if you payed attention to programming class, int() would be a WHOLE number and not a decimal number, 2nd of all, a decimal number would be float() so the answer is int() hope i helped!

Explanation:

hope this helped byyyyyyyyyyye

You might be interested in
Pls help me awnser this I will give points
joja [24]

Answer:

first one is "int" second one is "string" and third one should be "float"

Explanation:

not sure if the first one is right but try this.

6 0
3 years ago
Write a function named wordLineCount with the following input and output: Input: a string parameter, inFile, that is the name of
Galina-37 [17]

Answer:

def wordLineCount(file):

   dic = {}

   with open(file,'r') as file:

       

       text = file.read()

       text = text.strip().split()

       for word in text:

           if word in dic:

               dic[word] += 1

           else:

               dic[word] = 1

   return dic

print(wordLineCount('ben.txt'))

Explanation:

The programming language used is python.

The program starts by defining the function, an empty dictionary is created to hold the words and the number of times that they occur. the with key word is used to open the file, this allows the file to close automatically as soon as the operation on it is finished.

The data in the file is read to a variable text, it is striped from all punctuation and converted to a list of words.

A FOR loop and an if statement is used to iterate through every word in the list and checking if they are already in the dictionary. if the word is already contained in the dictionary, the number of occurrences increases by one. otherwise, it is added to the dictionary.

check the attachment to see code in action.

6 0
4 years ago
When describing a software lincense, what does the phrase "open source" mean?
NikAS [45]

Answer:

The phrase "Open Source" means that a program's source code is freely available and may be modified and redistributed.

Explanation:

Hope this helped :)

8 0
3 years ago
8. Write the examples of freeware and Shareware softwares ?
lakkis [162]

Explanation:

People use freeware software because it is available free of cost and it can be distributed free of cost, that is why it is called FREEware.

Freeware software:

Adobe PDF

yahoo messenger

Go.ogle Talk

MSN messenger

People use shareware software because it helps them to know about the product more before buying it and this software is available free of cost.

Shareware software:

Adobe acrobat 8 professional

Winzip

Getright

7 0
3 years ago
A personal directory of e-mail addresses stored and maintained with one’s e-mail program
iris [78.8K]

Answer:

It’s a address book

8 0
4 years ago
Other questions:
  • Why does the phrase "compatibility mode” appear when opening a workbook?
    6·2 answers
  • Copyright laws were established :A. to allow authors to distribute their work while maintaining certain ownership rights. B. to
    8·1 answer
  • Can someone help me with my homework?
    7·1 answer
  • How many bytes are there in 256 Kbytes?
    6·1 answer
  • Create a cell reference in a formula by typing in the cell name or
    7·2 answers
  • It is an electronic device that capable of accessing accepting processing product and storing data​
    13·1 answer
  • Help teacher said with complete explanation ​
    5·1 answer
  • I cant tell if tubbo is a bee or a goat <br>or could he be human in the smp
    12·1 answer
  • Help me to solve please​
    8·2 answers
  • A manufacturing company has decided to be carbon free by 2030. What can it do to achieve this goal?.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!