Computer Science, asked by kripa1048, 8 months ago

Write a python program for the following: i)To input digit (n) and print 3 digit number created as eg,if you input 5,then it should print 567.Assume that the input digit is in range 1-7. ii)To input the year and then check given year is leap year or not iii)To read 3 numbers and prints them in ascending order. iv)To calculate the area of a circle, a rectangle, or a triangle depending upon the user's choice with inputs according to the choice given by the user.

Answers

Answered by manan222264
0

Answer:

The function returns an integer object constructed from a number or string x, or return 0 if no arguments are given. If x is a number, return x.__int__(). For floating point numbers, this truncates towards zero.

Similar questions