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
MAXImum [283]
3 years ago
7

Please help with my Python code - Functions

Computers and Technology
1 answer:
Schach [20]3 years ago
8 0

Answer:

Explanation:

see attached for help

You might be interested in
One of the following is NOT a basic linked list operation:_________.
Llana [10]

Answer:

One of the following is NOT a basic linked list operation:_________.

g) build list from file

Explanation:

Linked list operation is the creation of trees and graphs or a chain of data elements, which are called nodes.  Each note points to the next using a pointer.  In linked lists, each node consists of its own data and the address of the next node.  A linked list, which may be single, double, or circular, forms a chain-like structure that builds from one node to the other.

4 0
3 years ago
Use the modulo operator (%) to get the desired rightmost digits. Ex: The rightmost 2 digits of 572 is gotten by 572 % 100, which
uranmaximum [27]

Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.

Answer:

def rightMost(num):

   lenNum = len(str(num))

   rightNum = num%(10**(lenNum-1))

   print(rightNum)

   return(rightNum)

Explanation:

In this function we receive an integer number, then we find how many digits this number has, and finally, we find the rightmost digits; the main operation is modulo (takes the remainder after a division), what we want is to take all the digits except the first one, for that reason we find the modulo of the number when divided by ten to the power of the length of the number minus one, for example, if the number is 2734 we divided by 10^(4-1), where four is the length of the number, this way we get 2734/1000 and the module of it is 734.

5 0
4 years ago
You can set filters in event viewer for multiple logs. true or false
Klio2033 [76]
True hope this helps you(:


3 0
3 years ago
g Which of the following factors primarily determines how the Internet is used in different countries? A. local attitude to info
Nady [450]

Answer: A. local attitude to information privacy.

Explanation:

The factor that primarily determines how the Internet is used in different countries is the local attitude to information privacy.

Information privacy simply means the relationship which exist between his data is collected and shared as week as the legal and political issues surrounding them.

It is used in different countries through a sim card in the trip, a mobile hotspot, or Wi-Fi for internet access.

8 0
3 years ago
A ________ changes your home page and redirects you to other websites.
babunello [35]
The answer is browser
8 0
4 years ago
Read 2 more answers
Other questions:
  • How are the stop lamp bulbs connected in relation to each other? a. In parallel. b. In series. c. In series/parallel. d. None of
    13·1 answer
  • "Create a Python program named detect_column_level_data_entry_errors. When complete, you will run this program to produce a diag
    11·1 answer
  • Choose the list of the best uses for word processing software.
    5·1 answer
  • Critics of media consumption :
    15·1 answer
  • GUYS PLEASEEEE HELP !!!
    12·2 answers
  • True/False/Unknown. For the interpretation of function calls, we assign the formal parametersto the valuations of the actual arg
    11·1 answer
  • What is the name given to a value that does NOT change when used within a formula? *
    6·2 answers
  • Anyone play Ro-blox ? without the -
    7·2 answers
  • In a school 50% of the students are younger than 10, 1/20 are 10 years old and 1/10 are older than 10 but younger than 12, the r
    7·1 answer
  • Write A Code In Python
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!