Input two numbers and work out their sim, subtraction, multiplication, division, remainder, average and sum of the squares of the numbers.

Answers

Answer 1

def ultimate_math (num1, num2):

try:

array_num = [num1, num2]

print (num1 + num2)

print (num1 - num2)

print (num1 * num2)

print (num1 / num2)

print (num1 % num2)

print ((num1 + num2) / (len(array_num)))

print ((num1**2) + (num2**2))

except ValueError:

return "Invalid Input"

user_num1 = float (input (" Please enter a num: "))

user_num2 = float (input (" Please enter a second num: "))

print (ultimate_math (user_num1, user_num2))


Related Questions

They are correct? thank you!

Answers

Answer:

[OPINION]

First one is correct.

For the second one, I think the leader should accept the invitation and forward it to the entire team. [As the team experienced success due to group work, so every team member should be invited... as the success was a result of the hardwork of every member]

About the third one, I think it depends on the person so you may be correct. But, if I was asked to choose I would have been chosen.... rational approach

This is just my opinion. Hope it helps you:)

Qla
What are the activities a Database Designer will do if using the SDLC to design a Database [10]
Q1b
List the five main components of Access Database and state their uses [10]

Answers

Answer:a

What are the activities a Database Designer will do if using the SDLC to design a Database [10]

Q1b

List the five main components of Access Database and state their uses [1

Explanation:

For the following scenario, indicate whether the action is a good practice or bad practice to safeguard your personally identifiable information.
Marina's personal computer requires a password to get access.

Answers

Answer:

This is most definitely a good practice to safeguard personal information. This way, people wouldn't be able to access her computer easily, since it requires a code that only she would know. of course, there is the possibility that someone can just guess or hack into her computer, but that's why computers usually have you create a unique code that consists of uppercases, lowercases, numbers, special characters, etc which would be difficult to guess. it's a good protection for anyone who wants to safely keep their personal information from everyone else.

What is touch pad ? Computer class four

Answers

Answer:

A touch pad is an input device used for pointing on a computer display screen.

How teachers apply stenhouse theory

Answers

Answer:

In curriculum, a vision of knowledge, the role of the educator and a concept of the process of education are all present. In this sense, Stenhouse suggests that the role of teachers and professors is fundamental in the elaboration and implementation of curriculum.

3 type of keyboarding

Answers

Answer:

Mechanical Keyboards, Wireless Keyboards and Projection Keyboards

Explanation:

hope it helps

Write a recursive function stringReverse that takes a string and a starting subscript as arguments, prints the string backward and returns nothing. The function should stop processing and return when the end of the string is encountered. Note that like an array, the square brackets ( [ ] ) operator can be used to iterate through the characters in a string.

Answers

Answer:

void stringReverse(string s, int start){

   if(s[start]=='\0'){

       return;

   }

   else{

       stringReverse(s.substr(1,s.length()-1),start+1);

       cout<<s[start];

   }

}

Explanation:

what dose the following tool's do?
1-caption
2-back color
3-font
4-alignment​

Answers

Caption:it is used to display speaker's name and describe relevant sounds that are inaccessible to people of hard hearing or who are deaf

Back color: it is used to fill a section's interior. it contains numerical expressions that corresponds

Font: it is used to add style to a document or webpage

Alignment: it is used to describe how text is placed on a screen.

If you like my answer,mark as brainliest

will social media lose its relevance?​

Answers

Judging from it's prevalence and popularity, there will be a long way to go until people start to lose interest with expressing themselves online. So no, social media will not lose its relevance, but maybe when technology is dead, then it will.

What is system software? Write its types.​

Answers

Answer:

There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managing the computer itself, such as the operating system, file management utilities, and disk operating system (or DOS)

Answer:

There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managing the computer itself, such as the operating system, file management utilities, and disk operating system (or DOS)

Explanation:

thanks for question

Which one is the result of the output given by a computer
I​

Answers

Explanation:

Instruction , data and information all of these.

Who innovated an aeroplane? ​

Answers

Answer:

White brothers!!

Explanation:

Please verify you are a human Access to this page has been denied because we believe you are using automation tools to browse the website. This may happen as a result of the following:

a. Javascript is disabled or blocked by an extension (ad blockers for example)
b. Your browser does not support cookies

1. True
2. False

Answers

Cookies are what save your login info and keeps you logged in even when you close your browser. Which means that is not why, so A is correct

It is TRUE that the "Access Denied" error message may happen as a result of a. Javascript is disabled or blocked by an extension (ad blockers for example) and b. Your browser does not support cookies.

CAPTCHA, which stands for "Completely Automated Public Turing test to tell Computers and Humans Apart" is a test that determines if the user is a human being or a BOT.

There are many steps you can take to end the receipt of CAPTCHA messages.  Some of the steps are:Always check your IP address to ensure correctness Check that your network connection is okay You may need to stop using VPN (Virtual Private Network)Enable Javascript to enable internet functionalityAccept and enable cookies

 

Thus, "Access Denied" error message will stop appearing when Javascript and Cookies are enabled.

Read more about "Access Denied" error messages at https://brainly.com/question/24231195

Write down the short history of COMPUTER? ​

Answers

Answer:

Charles Babbage, an English mechanical engineer and polymath, originated the concept of a programmable computer. Considered the "father of the computer",he conceptualized and invented the first mechanical computer in the early 19th century.

What is the different type of secondary memory of a computer system.? explain

Answers

Explanation:

Solid state storage devices

optical storage devices

magnetic storage devices

Convert the following decimal numbers into their binary equivalent: a. 13
b. 32 or 42
c. 292
d 12
e. 61
f. 120
g.29
h. 44
67
98

Answers

Answer: a. 1101 b. 10000 or 101010 c. 100100100 d. 1100 e. 111101 f. 1111000 g. 11101 h. 101100 1000011 1100010

within the report wizard which of the following would you change in order to view a report in landscape orientation

Answers

Answer: page orientation

Explanation:

collection of any data can be database
False
True​

Answers

Answer:

True is the answer

have a great day

Suppose you and four of your friends are wirelessly connected with the home wireless router. [03] At this moment router is not transmitting data to the outgoing link and all of you want to browse internet and send packets of same size to the router. Consider the bandwidth of the outgoing link is20Mbps , packet size is 2500 bytes and the processing delay of each packet is
2μs . If your packet is queued at position eleven, calculate the delay after which your packet will be transmitted

Answers

format please? i cant understand

how do you copy a file​

Answers

Answer:

right click and press control c

In what tab can a user find the workspace option?

Answers

D. View.
You can find the workspace and preview of the file in View.

Suppose a Huffman tree is to be built for 5 characters. Give a set of 5 characters, and their distinct probabilities (no duplicates), that would result in the tallest possible tree. Show the tree. Derive the average code length: write the expression, you don't have to simplify it down to a single value.

Answers

I love chipotle do you live chipotle

which computer are used by mobile employees as Meter readers.​

Answers

Explanation:

handheld computers

Some handheld computers have miniature or specialized keyboards. Many handheld computers are industry-specific and serve the needs of mobile employees, such as meter readers and parcel delivery people, whose jobs require them to move from place to place.

Which one is the result of the ouWhen you move a file to the Recycle Bin, it will be immediately deleted from your computer.

A. True

B. Fals

Answers

Answer:

B => false

Explanation:

it just keep it on recycle bin => not being removed

False

Explaination :

The deleted file will stay in Recycle Bin for a short period of time before it's permanently deleted from your computer

Write a program that randomly chooses among three different colors for displaying text on the screen. Use a loop to display 20 lines of text, each with a randomly chosen color. The probabilities for each color are to be as follows: white 30%, blue 10%, green 60%. Suggestion: Generate a random integer between 0 and 9. If the resulting integer falls in the range 0 to 2 (inclusive), choose white. If the integer equals to 3, choose blue. If the integer falls in the range 4 to 9 (inclusive), choose green. Test your program by running it ten times, each time observing whether the distribution of line colors appears to match the required probabilities.

Answers

INCLUDE Irvine32.inc

.data

msgIntro  byte "This is Your Name's fourth assembly extra credit program. Will randomly",0dh,0ah

        byte "choose between three different colors for displaying twenty lines of text,",0dh,0ah

        byte "each with a randomly chosen color. The color probabilities are as follows:",0dh,0ah

        byte "White=30%,Blue=10%,Green=60%.",0dh,0ah,0

msgOutput byte "Text printed with one of 3 randomly chosen colors",0

.code

main PROC

;

//Intro Message

      mov edx,OFFSET msgIntro  ;intro message into edx

      call WriteString         ;display msgIntro

      call Crlf                ;endl

      call WaitMsg             ;pause message

      call Clrscr              ;clear screen

      call Randomize           ;seed the random number generator

      mov edx, OFFSET msgOutput;line of text

      mov ecx, 20              ;counter (lines of text)

      L1:;//(Loop - Display Text 20 Times)

      call setRanColor         ;calls random color procedure

      call SetTextColor        ;calls the SetTextColor from library

      call WriteString         ;display line of text

      call Crlf                ;endl

      loop L1

exit

main ENDP

;--

setRanColor PROC

;

; Selects a color with the following probabilities:

; White = 30%, Blue = 10%, Green = 60%.

; Receives: nothing

; Returns: EAX = color chosen

;--

      mov eax, 10              ;range of random numbers (0-9)

      call RandomRange         ;EAX = Random Number

      .IF eax >= 4          ;if number is 4-9 (60%)

      mov eax, green           ;set text green

      .ELSEIF eax == 3         ;if number is 3 (10%)

      mov eax, blue            ;set text blue

      .ELSE                    ;number is 0-2 (30%)

      mov eax, white           ;set text white

      .ENDIF                   ;end statement

      ret

setRanColor ENDP

consider a hard disk with the following specifications :
3.5 in diameter

Answers

Answer:

usable capacity = 10 GB

Number of cylinders = 256

Block size = 4 KB

(1)Bytes in each cylinder = (10*230)/(256) = (10*222) = 40 MegaBytes

(2)Number of Blocks in each cylinder = (10*222)/(212) = 10K

(3)capacity of one track = 40 MegaBytes/(10*2) = 2 MB

Rotation speed = 3840 RPM

Number of rotations per second = 3840/60 = 64

Transfer rate = (2*64) = 128 MB/sec

Explanation:

Type the correct answer in the box. Spell all words correctly.
As a project team member, Mike needs to create a requirements document. What is one of the most important aspects Mike should take care of while creating a requirements document?
Maintaining ( blank)
is one of the most important aspects of creating a requirements document.

Answers

Answer:

Gantt charts

Explanation:

Gantt charts control all aspects of your project plan from scheduling to assigning tasks and even monitoring progress. A Gantt chart shows your tasks across a timeline and puts them in phases for better organization.

viết chương trình hoàn chỉnh các yêu cầu sau:
a. Định nghĩa hàm có tên là PSTG(), có hai tham số kiểu nguyên x và y hàm trả về giá trị phân số x/y ở dạng tối giản.
b. Gọi hàm đã định nghĩa ở trên trong hàm main () để in lên mà hình một phân số x/y ở dạng tối giản, với x và y được nhập từ bàn phím.

Answers

Explanation:

the perimeter of an aluminium sheet is 120 CM if its length is reduced by 10% and its breadth is increased by 20% the perimeter does not change find the measure of the length and the breadth of the sheet

why is Touchpad used in the laptop computer​

Answers

Answer:

in controlling the mouse or cursor

Explanation:

as is it known tha a cursor is a poniting device. and the only way to control it without a mouse is the touchpad

Means storing,accessing information over the internet other than hard drive and your system

Answers

Answer:

this describes cloud computing or just an overall cloud drive

Explanation:

Other Questions
Someone please help with this cut and paste command copies the text to new location? China and Japan In the Middle Ages mastery test edmentum Who created the airplane? Which figure is described below?The locus of points in a planeequidistant between(-5, -6) and (-5, 7). What is the importance of studying systems in E.S rather than isolated events or individual actors? Khng nh: Mi ch n ca doanh nghip , Hp tc x u c quyn np n yu cu tuyn b doanh nghip ph sn khi nhn thy doanh nghip ri vo mt kh nng thanh ton l ng hay sai? V sao? If third term of G.P. is 3, the product of its first five terms is a) 1024 b) 243 c) 3125 d) 32 What informational text gives a detailed account of events? The divisibility rule for 7 says 10a + b is a multiple of 7 if only and only if a - 2b is a multiple of 7 Explain. What is the importance of re-reading and re-writing in relation to descriptive writing? Find the equation of the circle whose center and radius are given.center ( 7, -3), radius = 7 Calculate the volume of copper used to make a copper pipe which is 50cm long, that has an outer diameter of 8cm and a thickness of 5mm III. Give the right form of the verbs in parentheses: simple future or simple present.1. Well go out when the rain (stop)..2. I (stay) here until he (answer).. me.3. Wait until I (catch ).. you.4. Ill be ready before you (count).. ten.5. John must eat his breakfast before he (go). out.6. Miss Helen (help).. you as soon as she (finish) that letter.7. I (get)... a new one before tonight.8. She (not,come) until you (be) ready.9. After the class (be). Over, ask the teacher about that sentence.10. I (come). And (see).. you before I (leave) . For England. Help me please Adeyemi who is 15 years old is 3 years older than his younger brother Ojo . If Okonkwo the eldest brother is 21 years old . What is the average of the three brothers. I'm supposed to make a sllide and I have no idea on how to do this.Create a multimedia presentation on the topic of unity.SummaryIn this assignment, you will use research to create and develop a multimedia presentation on thetopic of unity. Your presentation will present the problem and demonstrate how increased unity canbe achieved to solve it.Assignment PromptIdentify a situation in which there is a division that could benefit from increased unity. You maychoose an example of division in the country, your community, your school, a group, or a team.Create a multimedia presentation that presents the problem and demonstrates how increased unitycan be achieved to solve it. how to plan for a turbulent environment surrounding the current pandemic Solve for x. Round to the nearest tenth, if necessary If f(x)=3x^2-x+6, evaluate f(-4)