What will you see on the next line?
>>> int(13.6)

Answers

Answer 1

Answer:

[tex]\huge\boxed{\texttt{13}}[/tex]

Explanation:

If we input [tex]\texttt{int(13.6)}[/tex] into bash (say python3), we will return with 13.

Why?

The [tex]\texttt{int()}[/tex] function of python basically stands for integer. It will convert whatever is inside the parentheses to an integer. This works with strings as well, and can be useful for turning strings into numbers readable by a program.

An integer is any real whole number (like -2048, 0, or 6, etc.) However, Python does not round the number based on whether it's closest to one value or not. Python always rounds down, basically what it does is takes away the decimal from the number.

If you would like to round to up, however, you might have a program that does this.

[tex]\texttt{import math}[/tex]

[tex]\texttt{int(math.ceil(5.7))}[/tex]

Hope this helped!

Answer 2
Answer:
13

I hope this helped :)

Related Questions

When a customer makes an online hotel booking the database is updated by using
A) table
B) form
C) query
D)report

Answers

I think it’s a form,if wrong please don’t be mad

When a customer makes a booking, the database is updated by using a form.

Forms in a database are necessary for the manipulation and the retrieval of data. It helps with entering, editing as well as displaying data.

The form allows you to add data to the already existent table and it can also help one to view already existent information.

A form can also be used to view information from query. When this is the case, it searches and analyzes data.

Read more at https://brainly.com/question/10308705?referrer=searchResults

How do you halt an infinite loop?
by pressing the Control key and the

key

Answers

write code creating an infinite loop, with my new Excel, the Ctrl + Break no longer works. Neither does the Esc key, etc.

I've looked all over the web and it appears that Microsoft has a bug and doesn't care to fix it.

Is there a way to re-introduce the Ctrl + Break function to VBA so if this happens in the future I don't lose work / force close?

Answer:c

Explanation:ctrl and c stops a infinite loop

Social networking is the most popular online activity?
True
False

Answers

Answer:

true

Explanation:

It’s true because I said so

[Files, for loops, exceptions; 20pt] Using a for loop, write a function called countWord(). It takes 2 parameters: The name of a text file (e.g. gettysburg.txt that is included with this test) and a word to be searched within that file. Your code should return the number of times the given word appears in the file. Capitalization should not matter. Make certain to handle file exceptions gracefully.

Answers

def countWord(name, word):

   try:

       f = open(name, "r")

       lst = ([])

       w = ""

       for x in f.readlines():

           w += x.lower()

       lst = w.split()

       f.close()

       return lst.count(word)

   except FileNotFoundError:

       print("Please create a file or use the name of an existing text file.")

print("Your word appears", countWord("gettysburg.txt", "random"), "time(s)")

The text file I used for testing looks like:

random words

random words

I'm putting random words in here

random

this is random

RaNdOm

I didn't really know what exceptions your professor is looking for so I just used the file not found one. Best of luck.

[Exceptions, Function calling another function] Write a function ticker() that first runs (calls) read_ticker() and then stores the returned dictionary. It then runs an interactive loop with the user in which the user is prompted for a company name. If the company name (key) is in the dictionary, then its ticker form and the IPO year is printed. Otherwise a warning is printed that the company name is not in the list. If the user just hits return without entering a name, the loop stops.




this is the function that needs to be called:
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'), '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d

Answers

def read_ticker():

   d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'),

        '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}

   return d

def ticker():

   di = read_ticker()

   while True:

       try:

           name = input("Enter the name of a company: ")

           if name == "":

               return

           print(di[name])

       except KeyError:

           print("Name not found! Please enter a valid name!")

ticker()

I hope this helps!

Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?

Answers

Answer:

bacspace not delete

Explanation:

delete erases on the right not left

Backspace he should press to remove the text to the left of his cursor.

What is cursor?

A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.

To learn more about cursor
https://brainly.com/question/12406758

#SPJ2

A friend a just opened his own barber shop and has asked you to develop a program to track the type of service the customer is receiving and the cost for the service and also include any tips the customer may give to the barber. The name of your friend's barber shop is Big Al's and on each customer receipt he wants to display the name of his shop, customer name, the type of service, cost of the service, and the amount of the tip for a total price of the service rendered. Name your variables Declare your variables

Answers

Answer:

class Barber(object):

   barber_shop = "Big AI's barber shop"

   def __init__(self, customer_name, type_of_service=[], tip=0):

       self.cust_name = customer_name

       self.tos = type_of_service

       self.tip = tip

   def service_type(self, *args):

       for i in args:

           self.tos.append(i)

   def total(self):

       

       services = {'trimming':10, 'hair_cut':20, 'shaving':15, 'washing':5, 'dyeing':5}

       contain = ''

       total = 0

       for service in self.tos:

           if service in services.keys():

               total += services[service]

               contain += f'{service}: {services[service]}\n'

       

       print(self.barber_shop,'\n', self.cust_name,'\n', 'Services:',contain.splitlines(),'\n', \

           f'total: ${total}', '\n',f'Tip: ${self.tip}')

mycust = Barber('John',['washing'],6 )

mycust.service_type('shaving', 'dyeing')

mycust.total()

Explanation:

The Barber class is a blueprint used to create an object instance of customers that visits the barber-shop. It has two methods 'service_type' and 'total' which are just defined functions of the class that appends services to the type of service variable and total that prints the total cost of services on the screen.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors

Answers

Answer:

A simple syntax error :)

"A character or string incorrectly placed in a command or instruction that causes a failure in execution."

Good luck! Hope this helped! :D

The kinds of errors does Erin need to fix is a simple syntax error.

What is syntax error?

Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.

The correct way to remove syntax error is putting colon and semicolon on the right place.

Learn more about syntax error.

https://brainly.com/question/18271225

#SPJ2

Which are examples of primary sources? Check all that apply.

diary
newspaper article
biography
photograph
speech

Answers

Answer:

A, D, E

Explanation:

Diaries, photographs, and speeches are all forms of primary sources, whereas biographies and newspaper articles are written by a secondary source.

Answer:

a,d,e

Explanation:

it is where your cpu (processor) is installed

Answers

The motherboard (CPU SOCKET)

Answer:

OPTICAL DRIVE

Explanation:

It think

(true or false) One of the difficult things about working in game design is that while there are many different roles, most of them only match one specific personality type.
True
False

Answers

Tbh I think it’s False because most of them don’t match
I thinks it’s false cause most don’t match

The shooting(blank) should describe a daily plan of the shoot and should include everything from the crew to wrap-up.

Answers

Answer:

schedule

Explanation:

Indeed, in almost every video production a shooting schedule is used to describe the daily plan of the shoot; such as what scenes to shoot first, and next.

It also gives details about the crew, as well as the timeline for the entire film production, and so on.

what is the meaning of .com in computer​

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.

Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.

You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.

I need help pleaseeeee!!!

Answers

Answer:

True

Explanation:

Integrated Services Digital Network (ISDN) is a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network.

Pleaseee mark me as brainliest

Hope this help <3

In a networking context, "architecture" refers to
a. the building that houses the network
b. design
c. the hardware
d. a well-built network

Answers

Answer:

A well built netwrk

Explanation:

what makes classical music "classical"?​

Answers

Answer:

Whereas most popular styles are usually written in song form, classical music is noted for its development of highly sophisticated instrumental musical forms, like the concerto, symphony, and sonata. Classical music is also noted for its use of sophisticated vocal/instrumental forms, such as opera.

Answer:

the time period in which it was composed

Explanation:

What two states do binary numbers represent?

A) Coder and processor
B) Input and output
C) On and off
D) Right and left

Answers

Answer:

C

Explanation:

Binary is a base-2 number system that uses two mutually exclusive states to represent information. A binary number is made up of elements called bits where each bit can be in one of the two possible states. Generally, we represent them with the numerals 1 and 0.

Answer:

C

Explanation:

On and off symbolize 0 and 1.

CALCULATE THE PERCENTAGE OF FAT CALORIES TO TOTAL CALORIES. I got no idea how to do this in excel ;-;

Answers

Answer:

As you have the Fat Cal. in column C and the total calories in Column B, what you have to do is to divide column C by Column B.

For instance, in column E2, put the formula: =C2/B2.

Then drag the formula down so that the other formulas will be;

E3; =C3/B3

E4; =C4/B4

E5: C5/B5

E6: C6/B6

Then after that you go to the Home tab, then to the Number style section and format E2 to E5 to be percentages.

If you draw strength from video games, how?

Answers

Answer:

I really dont know

Explanation:

Thank u for the pts tho < :)

Chris has received an email that was entirely written using capitalization. He needs to paste this text into another document but also ensure that the capitalization is removed.

What should Chris do?

Use the Paste Special function to paste the text without formatting.
Turn the Caps Lock button on the keyboard to the off position.
Use Shift+F3 to change the case of the desired text.
All of the above steps are correct.

Answers

Answer: D. all of the above

Explanation:

Answer:

D.) All of the steps above are correct

Explanation:

2. The internet offers a great source of information; however, how are
you going to make sure that these pieces of information are reliable?​

Answers

Answer:

There are many different ways that you can ensure that the information you gather on the internet is reliable and accurate! One way is to not look at Wikipedia and sites where anyone has the access to edit it at any time. Sites that are .com or .org are usually from a direct and safe source. Stay away from media websites and if you believe something isn't right, do further research.

Explanation:

Hopefully this helps.

Its made up of a small memory chips on a card that can hold data in an electronic format​

Answers

The chip can allow you to have more data and more pictures so your phone does not become slow and messages and apps and more.

What are 5 different google g-suite tools that you can use to collaborate and communicate with othe

Answers

it is google docs like stuff made by google

Sonora wants to extend the cells to be added in her formula. What is the quickest way to add more cells?
O Go to the Function Library group and click Insert Function.
Click the Insert tab in the ribbon and then Equation.
O Type the ranges in the parentheses in the formula bar.
O Left-click on a cell that is included and drag the cursor.

Answers

Answer:

D

Explanation: took the test on edge

Answer:

Left-click on a cell that is included and drag the cursor.

Explanation:

Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem

Answers

List the poem please. I won’t be able to answer without it.

Find true or false. A hacker is hacking software with access in sensitive information from your computer​

Answers

ITS TRUE!!I SEARCHED IT

please help me I want the answer for the 3rd question ​

Answers

Use the multiples thats are included in the flowchart and divide them by half a divisible

Select all the correct answers.
In which TWO ways does e-governance empower citizens?

Citizens can obtain information directly from government websites.
Citizen can easily fix appointments with senators online.
Citizens do not need to travel to government offices.
Citizens can vote online on the bills introduced in the legislature.


i will have more questions under ur answers

Answers

Answer:

Citizens can obtain information directly from government websites.

Citizens do not need to travel to government offices.

Explanation:

These seem the most appropriate to me.

Given the formula on the left, label the parts. SUM . A2:D19 . E55 . (A2:A19,C13,E55,19) .

Answers

Answer:

SUM  

✔ function name

.

A2:D19  

✔ range

.

E55  

✔ value

.

(A2:A19,C13,E55,19)  

✔ argument

Answer:

1. B

2. A

3. A

4. C

Explanation:

On edge2020 I got it right

what is the computer?​

Answers

Answer:

an electronic machine that can store, find and

Other Questions
Given the function f ( x ) = 1 x + 3 x 4 , f(x)= x 1 + 4 3 x , find f ( 4 ) . f (4). Express your answer as a single fraction in simplest form. Define urban Environment in your own words A college student takes the same number of credits each semester. She had 9 credits when she started, and after 6 semesters, she had 117 credits. It is not important to determine which verb is proper to use in different sentences.TrueFalse The page-replacement policy means that pages are not placed to make more space. A. True B. False Which of the following sequences is not a geometric sequence?50, 25, 12.5, 6.25, 6, -12, 24, -48, 0, 2, 4, 6, -1, -3, -9, -27, Which is a factor that influences the development of cardiovascular disease?smokinggrowth of bacterialack of calciumsun exposure A student performs an experiment in which 5.0 g of potassium chloride, KCI, are dissolved into 100.0 mL of distilled water. The student records thetemperature both before and after dissolving the KCl into the water, as shown in the data table below. Use this data to answer the question that follows.Initial Temperature, C Final Temperature, C21.8C16.4CWhich statement below is a correct conclusion based on these results ?The temperature of the water decreases and so the reaction is exothermicThe temperature of the water increases and so the reaction is exothermicThe temperature of the water decreases and so the reaction is endothermicThe temperature of the water increases and so the reaction is endothermic Which of the following statements accurately describes the relative age of the fossils in these rock layers? u.s. war bonds helped the war effort by If you go on this question at all you are a republican and that is good B. Drinking water can only be obtainedhom seawater by hallaka True. I False should the United state adopt a declaratory nuclear policy of no first use how would one convert 36 yd to centimeters? I need help on this angle measurement paper PLEASE HELP!!!!!!!!!!!!(also if you dont know please dont answer so the people who know see this) The envelope method, notebook and pencil, and online software are all methods of ______.estimating your unexpected expensesplanning for your futuretracking your spendingunderstanding your current expenses Which of the following is not a characteristic of Central and East Asias arid climates?A.Average summer temperatures are around 93 F.B.Temperatures can fluctuate widely throughout a day.C.It has cool, wet summers and cold, dry winters.D.Annual rainfall is between two and six inches. Pls help me out, I need to know what value of x makes this equation trueequation: 6(2x 11) + 15 = 3x + 12I have already found the answer to this equation (x = 7) but I need to know what value of x makes the equation true. (If it's 7, my brain just needs a break from stuff, I've been up since 4 in the morning) DUE 10:00 PM HELP ASAP. When Sarah left your house this morning her cell phone was 80% charged and then it started to lose 8% charge for each hour there after write an equation for B in terms of tea representing the charge remaining in series battery as percentage t hours after Sara left her house