Examveda

In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
objective is to make sure x has a integer value, select all that apply (python 3.xx)
>>>x = 13 ? 2

A. x = 13 // 2

B. x = int(13 / 2)

C. x = 13 % 2

D. All of the mentioned

Answer: Option D


This Question Belongs to Python Program >> Data Types And Numeric Types

Join The Discussion

Related Questions on Data Types and Numeric Types