486,780 views
5 votes
5 votes
If x=3.123, then int(x) will give ?

User Manikanta P
by
2.8k points

1 Answer

7 votes
7 votes

Answer:

3

Step-by-step explanation:

int(x)=3

int(x) rounds to the smallest whole number

For example,

if you say int(3.99) it is also 3

User Philouuuu
by
2.9k points