πŸ“Š Python
Q. What will be output of this expression:
Code:
'p' + 'q' if '12'.isdigit() else 'r' + 's'
  • (A) pq
  • (B) rs
  • (C) pqrs
  • (D) pq12
πŸ’¬ Discuss
βœ… Correct Answer: (A) pq

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
163
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
88%
Success Rate