MCQs > IT & Programming > Python > Which shell expression will give the result as an integer value? 1. >>> (100 - 4 x 5) / (20 - 2 x 5) 2. >>> 7.0 / 4 3. >>> 5 / 4 4. >>> 2 x 4 / 2 5. >>> 5 - 2

Python MCQs

Which of the following shell expressions will give the result as an integer value?

1. >>> (100 - 4 x 5) / (20 - 2 x 5)

2. >>> 7.0 / 4

3. >>> 5 / 4

4. >>> 2 x 4 / 2

5. >>> 5 - 2


Answer

Correct Answer:

Line number 5 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it