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
Sliva [168]
2 years ago
15

Please help! Python programming, use the factorial operation to evaluate 4!. Answers are in picture please pick one, thank you.

(20 points! And Brainliest!)

Computers and Technology
1 answer:
pochemuha2 years ago
5 0
The answer is 4x3x2x1
You might be interested in
This is just for the points
Zolol [24]

thx for z free points.....

6 0
3 years ago
Read 2 more answers
Which would you trade on a stock exchange? A: Shares B: Bonds C: Annuities
Ivan
Most likely you would trade shares
7 0
3 years ago
Read 2 more answers
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 r
True [87]

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.

4 0
3 years ago
The catch clause ________. follows the try clause contains code to gracefully handle the exception type listed in the parameter
Elanso [62]

Answer:

all of these

Explanation:

The catch clause satisfies the following:

1. It starts with the word catch followed by a parameter list in parentheses containing an Exception Type parameter variable.

2. It follows the try clause.

3. It contains code to gracefully handle the exception type listed in the parameter list.

So, option ''all of these'' is correct

6 0
4 years ago
Qbasic program to convert Nepali rupees into paisa​
Svetradugi [14.3K]

Answer:

INPUT "What is the amount of rupees you want converted into paisa"; rupees

paisa = rupees*100

PRINT paisa

Explanation:

done in QBASIC
the semicolon in the 1st line makes the question have a ? at the end. the rupees key word in the 1st line saves the input as a variable

then the second line multiplies by 100 since there are 100 paisa in 1 rupee

5 0
2 years ago
Other questions:
  • Kwan is using JavaScript extensively to add interactivity to his Web site. Contained within his script is a counter object that
    8·1 answer
  • A (n) _____ exposure is a short term or brief exposure that may create an immediate health hazard
    9·1 answer
  • PLEASEEEEEEEEEEEEEEEEE HELPPPPPPPP
    15·1 answer
  • What is an input periphal
    8·2 answers
  • PLEASE HELP ASAP!!
    13·1 answer
  • You can rotate a selected graphic by dragging a ________ rotation handle
    13·1 answer
  • Write down the reciprocal of 40​
    12·1 answer
  • How does the technology affect you daily living? Give situations where you use technology and how it helped you.​
    5·1 answer
  • Which of the following file formats allows you to share and save documents
    5·1 answer
  • A(n) _____ is the software that enables the os to control a device.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!