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
Marta_Voda [28]
4 years ago
11

create a boolean variable called sucess that will be true if a number is between -10 and 10 inclusively python

Computers and Technology
1 answer:
Kobotan [32]4 years ago
8 0

Answer:

success = -10 <= number <= 10

Explanation:

I check that -10 is less than or equal to number, and number is less than or equal to 10.

You might be interested in
(tco 3) what vbscript boolean operator could be used to replace the nested selection structure in this pseudocode? if empmedical
Leto [7]
You want both conditions to be true, so you can "And" them.
In vbscript, the and is written as "And" (not as && like other languages), so you get:

<span>If (empmedicalins = "y") And (empdentalins = "y") Then
    print empidnumber, emplastname, empfirstname
Endif</span>
3 0
3 years ago
Why might a photographer be interested in capturing the human element in his/her images? Describe your favorite example that dem
Andrej [43]
1) A photographer be interested in capturing the human element in his/her images because human beings can be as inspiring as everything that surrounds a photographer. Every artist has its own source of inspiration, and what if artist is the inspiration itself? Exploring human's beauty is the main part of developing your art (in this case photography) skills. 
2) I find hands, to be more exact,wrists, to be the most inspiring part of human body. There is a philosophical aspect in my opinion becuase people use their hands to create. Every person is unique, its hands are unique and these hands can create unique things.
7 0
3 years ago
Boole’s theories of logic set the foundation for what aspect of computing today?
AlekseyPX

Answer:

Software aspect of computing

Explanation:

Boole never regarded logic as a branch of mathematics, instead, he proposed that logical propositions should be expressed as algebraic equations. Mathematical operations were replaced with AND, OR.

Boolean algebra provides the basis for analyzing the validity of logical propositions because it captures the two-valued character (binary:  (1 or 0) ) of statements that may be either true or false which is very important for all digital computation of which softwares are part of.

7 0
3 years ago
Are DHCP messages sent over UDP or TCP? 2. What is the link-layer (e.g., Ethernet) address of your host? 3. What values in the D
maks197457 [2]

Answer:

1.) DHCP is sent over the message at UDP.

2.) The address of link-layer is Source: DellComp_4f:36:23 (00:08:74:4f:36:23)

3.) The message type of value to the discover message is 1, but the message type of value to the request packets is 3. This how you can be differentiate two.

4.) The Transaction ID in first four message is 0x3e5e0ce3

The transaction ID in second sets of messages is 0x257e55a3

The transaction ID is identifies if the message is a part of the set of the messages is related to the one transaction

Explanation:

DHCP is stands for the Dynamic Host Configuration Protocol which is the networks management protocol that is used on the UDP/IP networks where by the DHCP servers dynamically assign the IP address and the other networks configuration parameters to the each devices on the network so they can be communicate with the other IP network.

6 0
4 years ago
Write a Java application that inputs a series of 10 integers and determines and prints the largest and smallest integer. Use a c
klio [65]

Answer:

import java.util.Scanner;

public class LargestSmallest {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.print("Enter 10 integers: ");

       int num = in.nextInt();

       int i = 1;

       int min = num, max = num;

       while (i < 10) {

           num = in.nextInt();

           if (num > max) max = num;

           if (num < min) min = num;

           i++;

       }

       System.out.println("Largest number: " + max);

       System.out.println("Smallest number: " + min);

   }

}

Explanation:

A Java application that inputs a series of 10 integers and determines and prints the largest and smallest integer is written above.

5 0
3 years ago
Other questions:
  • Write a program that declares an array of size 1,230 and stores the first 1,230 prime numbers in this array. The program then us
    6·1 answer
  • During college jesse spent four semesters studying abroad in other parts of the world how could jesses time abroad benefit his e
    5·2 answers
  • Design a Ship class with the following members:
    13·1 answer
  • Visual-verbal synergy has nothing to do with text, but solely with images used in a design.
    9·1 answer
  • Which tag defines the visible content of a web document?
    10·1 answer
  • Abby wants to simply share a snapshot of her calendar with another user. Which option should she choose to achieve
    15·1 answer
  • 5) The City Jail Technologies Department is constructing an application to allow users in the Crime Analysis Unit to query data
    11·1 answer
  • An accountant initially records adjusting entries in a(n) _____.
    5·1 answer
  • Jane wants to type a math assignment involving percentages she wants to insert the percent symbol after typing a number which ke
    10·1 answer
  • Which two features could be added to a game using an "if () then " block
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!