print (round(num,2)), Displays a number rounded to two decimal places, math.sqrt(num), The square root of a number – you must have the line import math at the top of your program for this to work, **, To the power of (e.g. 102 is 10**2), num=float(input(“Enter number :”)), Allows numbers with a decimal point, dividing the integer and fractional part, math.pi, Give you pi () to 15 decimal places, but you must have the line import math at the top of your program for this to work, x//y, Whole number division (e.g. 15//2 gives the answer 7), x%y, Finds the remainder (e.g. 15%2 gives the answer 1).

аутор

Табела

Визуелни стил

Поставке

Промени шаблон

Врати аутоматски сачувано: ?