Answer:
d.
Explanation:
Out of all of the options listed, the only choice that is actually a fact would be that the minimum age for some social media sites is 13. This is because this age restriction is not set by the social media sites but instead by the Children's Online Privacy Protection Act (COPPA) within the US. The other options are all personal opinion, the most accurate of which is that "Social media is a great way to communicate." which there can still be someone with an opposing argument which means that it is not factual but instead it is an opinion.
What will you see on the next line?
>>> int(13.6)
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!
Where do high tides occur? (Select two.) WILLLL GIVVEEE BBRRAANNLLEESSTTTM PLSS AASSAAPP
only at the South Pole
on the side of Earth opposite the moon
on the side of the Earth facing the moon
only at the North Pole
at both the North and South Poles
Answer:
Maybe both?
Explanation:
High tides and low tides are caused by the Moon. The Moon's gravitational pull generates something called the tidal force. The tidal force causes Earth—and its water—to bulge out on the side closest to the Moon and the side farthest from the Moon. These bulges of water are high tides. (hope this helps)
Answer:
its the last one, it happens on the side of the earth facing the moon and also the opposite side
How do you halt an infinite loop?
by pressing the Control key and the
key
Answer:c
Explanation:ctrl and c stops a infinite loop
_______are a set of track sectors, ranging from 2 to 32 or more, depending on the formatting scheme in use.
a.
Cylinders
b.
Track sectors
c.
Tracks
d.
Clusters
Answer:
pretty sure it's d. clusters
if not it's also probably a. cylinders
Explanation:
In an inequality between two numbers, -2.1 is located below the other number on a vertical number line. So, the other number is -2.1. One possible value of the other number is .
Answer:
-2.0
Explanation:
Given
Number = -2.1
Required
Determine the other number
From the question, we understand that the number is represented on a vertical number.
From bottom to top, numbers on a vertical number line increases.
Since the other number is at the top of -2.1, then we can conclude that this number is greater than-2.1
Hence, possible values are ,-2.0, -1.9, etc.
Answer:
First blank: greater than.
Second bank: -1.5
Explanation:
what is the main difference between a search bar and a web browser
Answer:
i think a search is search bar is looking for application and files that are in the system while web browser is for searching things that are not in ur pc or laptop but searching thing i a good example google
Which of the following is not one of the views available in the PowerPoint application?
Show View
Slide Sorter
Notes Page
Reading Pane
Answer:
A. Show View
Explanation:
PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation.
Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.
Basically, the views that are available on the Microsoft PowerPoint application includes;
1. Slide Sorter.
2. Notes Page.
3. Reading Pane.
Hence, show view is not one of the views available in the PowerPoint application.
Comments should:
a) give the reader the background of the programmer.
b) be written for every line of code.
c) communicate the purpose of the code that follows it.
d) give information about how many hours it took to write the code.
Answer:
c.
Explanation:
4.9 Code Practice: Question 2
Instructions
Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum each step along the way.
Expected Output
20
50
90
140
200
270
350
440
total = 0
for x in range(20,91,10):
total += x
print(total)
I hope this helps!
Answer:
sum = 0
for i in range (20, 91, 10):
sum += i
print(sum)
The amount of data that can be stored on a disk depends in part on_____.
a.
the number of tracks on the disk
b.
the thickness of the magnetic coating
c.
none of the above
d.
the rotational speed of the disk
For this assignment, you will create a calendar program that allows the user
to enter a day, month, and year in three separate variables as shown below.
Day:
Month:
Year:
Then, your program should ask the user to select from a menu of choices
using this formatting
Menu:
1) Calculate the number of days in the given month.
2) calculate the number of days left in the given year.
I would really appreciate it if someone could help me on this.
Following are the program to the given question:
Program Explanation:
Defining three methods "leap_year, number_of_days, and days_left " is declared. In the "leap_year" method, it accepts the year variable, which calculates the year is the leap year and returns its value that is 1. In the next method "number_of_days", it is define which accepts the "year and month" variable in the parameter and calculate and returns its value. In the last "days_left" method, it calculates the left days and returns its value, and outside the method, two dictionary variable days_31 and days_30 is declared. It initilized a value by using 3 input variable "day, month, and year" variable which accepts user-input value. In the next step, a "c" variable is declared, that input values and calls and print its value accordingly.Program:
def leap_year(y):#defining a method leap_year that takes one parameter
l= 0#defining l variable that holds an integer
if y % 4 == 0:#using if block that check year value module by 4 equal to 0
l = 1#holding value in l variable
if y % 100 == 0:#using if block that check year value module by 100 equal to 0
l = 0#holding value in l variable
if y % 400 == 0:#using if block that check year value module by 400 equal to 0
l= 1#holding value in l variable
return l#return l value
def number_of_days(m, y):#defining a method number_of_days that takes two parameters
months = {1: 31, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31}#defining months variable that hold value in ictionary
l = leap_year(y)#defining l variable that calls leap_year method and holds its value
if l == 1 and m == 2:#use if that check l value equal to 1 and 2
return 29#return value 29
if m == 2:#use if that check month value equal to 2
return 28#return value 29
return months[m]#return months value
def days_left(d, m, y):#defining a method days_left that takes three variable in parameter
l = leap_year(y)#defining l variable that hold leap_year method value
days = 0#defining days variable that hold integer value
months = {1: 31, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31}#defining months variable that hold value in ictionary
if l== 1:#using if that check l equal to 1
if m > 2:#defining if that check m value greater than 2
days += (29 + 31)#using days variable that Calculate holds its value
i = m#defining i variable that holds months value
while i > 2:#defining while loop that checks other days
days += months[i]#defining a days variable that holds months value
i -= 1#decreasing i value
days -= (months[m] - d)#defining days that subtracts leap value
elif m == 2:#defining elif block that checks m equal to 2
days += (29 - d) + 31#holding value in days variable
else:#defining else block
days = 31 - d#Calculating days value
return 366 - days#using return keyword that Calculates days value
else:#defining else block
if m > 2:#using if that checks m value greater than 2
days += (28 + 31)#Calculating and store value in days
i = m#holding months value in i
while i > 2:#defining while loop that checks i value greater than 2
days += months[i]#holding list value in days
i -= 1#decreasing i value
days -= (months[m] - d)#defining days that subtracts leap value
elif m == 2:#using elif block that checks m value equal to 2
days += (28 - d) + 31#Calculating and store value in days
else:#defining else block
days = 31 - d##Calculating and store value in days
return 365 - days#return total days
print("Please enter a date")#print message
day = int(input("Day: "))#input value
month = int(input("Month: "))#input value
year = int(input("Year: "))#input value
print("Menu: ")#print message
print("1) Calculate the number of days in the given month.")#print message
print("2) Calculate the number of days left in the given year.")#print message
c = int(input())#input value
if c == 1:#using if that checks c value equal to 1
print(number_of_days(month, year))#calling method and print its return value
elif c == 2:#using if that checks c value equal to 2
print(days_left(day, month, year))#calling method and print its return value
Output:
Please find the attached file.
Learn more:
brainly.com/question/16728668
Dropdown
Choose the correct data type.
type(3) tells you the type is___
type("35") tells you the type__
type(3.5) tells you the type__
type(3) is int
type("35") is string
type(3.5) is float
Following is the correct data type that one get after giving the following commands”
type(3) is int
type("35") is string
type(3.5) is float
What is the data type?In any of the computer science and computer programming worlds, a data type is considered for the possible value set and it allows what kind of operation one has to do on it. A variable's basic data type is the classification that specifies the type of value it has.
Most of the time, the data type is used for programming, so don't be concerned about the type of mathematical relations and logical operations that can be applied.
There are basically five types of data types divided on the basis of most modern computer languages. They are integral, floating-point, character, character string, and composite types
Learn more about data type from here:
https://brainly.com/question/14581918
#SPJ2