MCQs > IT & Programming > Python > Correct answer from the given options. n1 = 1.5 n2 = 6.3 s = float(n1) + float(n2) print('{0}'.format(s)) s //= 3 print(s)

Python MCQs

Find the output of the following Python code and choose the correct answer from the given options.

n1 = 1.5

n2 = 6.3

s = float(n1) + float(n2)

print('{0}'.format(s))

s //= 3

print(s)


Answer

Correct Answer:

7.8

9.0  


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

More Python MCQ Questions

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it