Let x = “50”. Which of the following commands converts the ‘x’ to float datatype? A. str(float,x)B. x.float()C. float(x)D. Cannot convert a string to float datatype
SIKSHAPATH Latest Questions
State whether the given statement is True or False. When using the floor division operator (//), if the result is negative, then the result is rounded off to the next largest integer. a. True b. False
Given two variables j = 6 and g = 3.3. If both normal division and floor division operators were used to divide j by g, what would be the data type of the value obtained from the ...
What is the output of the following code? num1 = 12 num2 = “58” print(num1 + num2) A. 12 B. 58 C. 70 D. Error: Invalid operation, unsupported operator ‘+’ used between ‘int’ and ‘str’.
Which of the following statements is/are true about “Physical Symbol System Hypothesis”? a. A physical symbol system understands the laws of physics. b. It is an approach to AI, based on the assumption that all aspects of ...
The “Logic Theorist” is ___________ A. a computer program to find proofs B. a mathematician who works on Logic C. a program designed by Herbert Simon and Alan Newell D. a logic based ...