Answer:
int1=int(input("Enter integer :\n"))#taking input of first number.
int2=float(input("Enter the power :\n"))#taking input of the power.
if int2 == 0.5 and int1<0:#condition for negative square root.
print("Cannot calculate the square root of negative numbers")#printing the message.
else:#else calculating the result.
res=int1**int2
print(res)
output:-
Enter integer :
-5
Enter the power :
0.5
Cannot calculate the square root of negative numbers
Explanation:
In the above program I have taken input of the number and the power.Since power can be decimal number taking it as float.If the number is negative and the power is 0.5 then printing the message for not calculating the value else calculating the value and storing it in the res printing the res.
No I have not had that do that to me before It has always loaded my ads and sent me right back to the answer
Answer:
Examples of file extensions
A JPEG uses the . jpg or . jpeg extension (for example, image. ...
A Word document uses the . docx extension, or . doc for older versions (for example, CoverLetter. ...
An MP3 audio file uses the . mp3 extension (for example, rhyme_rap. mp3).
An Excel spreadsheet uses the . xlsx extension, or .
Answer
No I believe that it works on the computers instead of the wifi
Answer:
A) True
Explanation:
Objects are known as reference types, meaning that they are always accessed by references, not copied. When a method is called, passing an object to it, Java passes a reference of that object to the method and when that reference is modified, the changes can be seen in the object itself. Therefore a mutable object can be mutated anywhere- either from where it is created or by a method it is passed to. Hence the need to always use privacy modifier keywords such as public, private or protected, to determine the exposure of class properties and methods.