In Python, you can write -5 ...

In Python, you can write -5 in following anys: 5+2 and math.powl-5, 2) and 5" 5 But you execute these, the results vary, ie., -5**2 girnes result as -25 But both math.pour-5, 2) and -5 -5 gites result as +25. Why do results vary for these expressions? Whut changes will you incorporate to get the same result in all these expressions ?
  • 0 answers

Related Questions:

what is a programing language?
  • 1 answers
What do u mean by exit function?
  • 1 answers
(283)10=(?)16
  • 0 answers

Buy Complete Study Pack

Subscribe complete study pack and get unlimited access to selected subjects. Effective cost is only ₹ 12.5/- per subject per month. Based on the latest CBSE & NCERT syllabus.

myCBSEguide App

myCBSEguide

Trusted by 70 Lakh Students

CBSE Test Generator

Create papers in minutes

Print with your name & Logo

Download as PDF

3 Lakhs+ Questions

Solutions Included

Based on CBSE Blueprint

Best fit for Schools & Tutors

Work from Home

  • Work from home with us
  • Create questions or review them from home

No software required, no contract to sign. Simply apply as teacher, take eligibility test and start working with us. Required desktop or laptop with internet connection