Python Quizs Question and Answers – Basic Operators
Q 1. Which is the correct operator for power(xy)?A. X^yB. X**yC. X^^yD. None of the mentioned Show Answer Answer:-B. X**y Explanation Explanation:- In python, power operator is x**y i.e. 2**3=8. Q 2. Which one of these is floor division?A. /B. //C. %D. None of the mentioned Show Answer Answer:-B. // Explanation Explanation:- When both of … Continue reading Python Quizs Question and Answers – Basic Operators
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed