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
ki77a [65]
3 years ago
15

Using Python Write an expression using Boolean operators that prints "Special number" if special_num is -99, 0, or 44.

Computers and Technology
1 answer:
Vinil7 [7]3 years ago
9 0

special_num = int(input())

if special_num == -99 or special_num == 0 or special_num == 44:

   print("Special number")

else:

   print("Not special number")

I wrote the code so that the user enters a number of their choice. Best of luck.

Solomonsdynasty60
3 years ago
Thanks Vinil7.... Now if I could just figure out the Sample output with input: 17 Not special number
Solomonsdynasty60
3 years ago
Thanks Vinil7.... Now if I could just figure out the Sample output with input: 17 Not special number
You might be interested in
How can you identify the active cell in excel
dybincka [34]

Answer:

An active cell refers to the currently selected cell in a spreadsheet. It can be identified by a bold (typically blue) outline that surrounds the cell.

Explanation:

he standard way to reference the location of an active cell is with a column/row combination, such as A2 (first column, second row) or B5 (second column, fifth row). hope this helps you :)

6 0
3 years ago
HELP ASAP!!!
stiks02 [169]
Comparison would be most suitable. I hope I could be a help


7 0
4 years ago
Read 2 more answers
The internet has provided great opportunities for fundraising. true/false
alekssr [168]
True, sites such as kickstarter and just giving are fantastic examples of such.
8 0
3 years ago
Write a program that accepts a number as input, and prints just the decimal portion.
Olegator [25]

<u>Answer:</u>

<em>There are 2 ways to do extract the decimal part: </em>

<u>Explanation:</u>

  • <em>First method using number  </em>

<em>int main() { </em>

<em>  double num = 23.345; </em>

<em>  int intpart = (int)num; </em>

<em>  double decpart = num - intpart; </em>

<em>  printf(""Num = %f, intpart = %d, decpart = %f\n"", num, intpart, decpart); </em>

<em>} </em>

  • <em>Second method using string: </em>

<em>#include <stdlib.h> </em>

<em>int main() </em>

<em>{ </em>

<em>    char* inStr = ""123.4567"";          </em>

<em>    char* endptr;                       </em>

<em>    char* loc = strchr(inStr, '.'); </em>

<em>    long mantissa = strtod(loc+1, endptr); </em>

<em>    long whole = strtod(inStr, endptr);  </em>

<em>    printf(""whole: %d \n"", whole);      </em>

<em>    printf(""mantissa: %d"", mantissa);   </em>

<em>} </em>

8 0
3 years ago
Read 2 more answers
In cell i5, enter a formula to calculate the total admission fees collected for the 2018 altamonte springs job fair using a mixe
nika2105 [10]

The formula is to calculate the total admission fees collected is = F5*B14

1. Click on cell I5

2. Type equal sign =

3. Type F5 or click on F5 cell

3. Type multiplication sign *

4. Type B14 or click on B14 cell

4 0
4 years ago
Read 2 more answers
Other questions:
  • When you schedule an appointment, Outlook adds the appointment to the ____ folder by default.
    9·1 answer
  • One problem with using e-mail is that ______. a. It can be perceived as being too casual b. It is never appropriate for business
    12·1 answer
  • What does limited access to a document mean?
    14·2 answers
  • Which view shows how the document will look when printed?
    11·1 answer
  • What is the purpose of a search engine?
    10·2 answers
  • An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Ove
    13·1 answer
  • A _____ is an example of a systems program. A. command interpreter B. web browser C. text formatter D. database system
    10·1 answer
  • A stateful inspection firewall ________. select one:
    14·1 answer
  • A ________ is an input device that responds to finger touch.
    8·2 answers
  • I need help! Please please
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!