Basic knowledge exercise 1

# Representation of hexadecimal, octal and binary.

# Find the absolute value of -5.

#Find 5 to the third power.

#Find the value of PI with two decimal places.

#The floating point number 45.67 is rounded up.

# The floating point number 45.67 is rounded down.

# Calculate the square root of 16.

# Calculate the square root of -16.

#Specify the encoding method of the string (bytes).

#Returns the string representation (repr) of the specified value.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324642759&siteId=291194637