SSC
COMPUTER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
what do put for the input comand
|
Int
|
|
Str
|
|
Num
|
|
Ine
|
Explanation:
Detailed explanation-1: -The int() function converts the specified value into an integer number. The int() function returns an integer object constructed from a number or string x, or return 0 if no arguments are given. A number or string to be converted to integer object.
Detailed explanation-2: -integer = int(input("Enter an integer as input: “)) print(integer*10) print(type(integer)) num = float(input("Enter an number as input: “)) sq = num*num print(sq) print(type(num)) num = float(input("Enter an number as input: “)) sq = num*num print(sq) print(type(num)) More items •24-Feb-2023
There is 1 question to complete.