menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
What will be the output? need answer fast! What will be the output? class num: def init_ (self, a): self.number = a def add_ (self, b): return self.number + 2 * b.number # main …
Ask a Question
Questions
Unanswered
Tags
Ask a Question
What will be the output? need answer fast! What will be the output? class num: def init_ (self, a): self.number = a def add_ (self, b): return self.number + 2 * b.number # main …
asked
Apr 12, 2022
201k
views
2
votes
What will be the output? need answer fast!
What will be the output? class num: def init_ (self, a): self.number = a def add_ (self, b): return self.number + 2 * b.number # main program numA = num (3) numB = num (2) result = numA + numB print (result) O 5 O 2 O 7 O 3
Computers & Tech
college
Glory
asked
by
Glory
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
Answer:
your answer would be 7.0 my guy
Step-by-step explanation:
i took the final
Arie
answered
Apr 19, 2022
by
Arie
7.3k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Sep 21, 2024
129k
views
What will be the output? class num: def __init__(self,a): self.number = a def __add__(self,b): return self.number + 2 * b.number # main program numA = num(3) numB = num(2) result = numA + numB print(result)
Adrian Stanculescu
asked
Sep 21, 2024
by
Adrian Stanculescu
7.4k
points
Computers & Tech
high-school
1
answer
1
vote
129k
views
asked
Feb 5, 2021
38.8k
views
In the program below, which two variables have the same scope? def subtract(numA, numb): return numA - numB def divide(numC, numD): return numC/ numD answer = divide(24,6) print (answer) numD and num numA
Jonathan Small
asked
Feb 5, 2021
by
Jonathan Small
8.7k
points
Computers & Tech
college
1
answer
1
vote
38.8k
views
asked
Oct 1, 2022
54.8k
views
Multiple Choice What will be the output? class num: def __init__(self,a): self. number = a def_mul__(self, b) return self.number + b.number numA = num(5) numB = num(10) product = numA * numb print(product)
Escapedcat
asked
Oct 1, 2022
by
Escapedcat
7.5k
points
Computers & Tech
high-school
1
answer
4
votes
54.8k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty