Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PCAP-31-03 All Questions

View all questions & answers for the PCAP-31-03 exam

Exam PCAP-31-03 topic 1 question 13 discussion

Actual exam question from Python Institute's PCAP-31-03
Question #: 13
Topic #: 1
[All PCAP-31-03 Questions]

Which of the following expressions evaluate to True? (Choose two.)

  • A. 'xYz'.lower() > 'XY'
  • B. '8'+'8' ! = 2 * '8'
  • C. float ('3.14') == str('3.' + '14')
  • D. 121 + 1 == int('1' + 2 * '2')
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
thewoodsii81
1 week, 3 days ago
Selected Answer: AD
B is incorrect since '8' + '8' = '88' and 2*'8' = '88. to say they aren't equal is false
upvoted 1 times
...
Dave304409
4 months, 3 weeks ago
A, D is correct
upvoted 2 times
...
DKAT2023
4 months, 3 weeks ago
A and D are corrects
upvoted 1 times
...
kstr
5 months, 2 weeks ago
AD: print( 'xYz'.lower() > 'XY' ) print('8'+'8' != 2 * '8' ) print( float ('3.14') == str('3.' + '14') ) print( 121 + 1 == int('1' + 2 * '2') )
upvoted 1 times
...
a4129fd
5 months, 4 weeks ago
Selected Answer: AD
AD are the right ones, as validated in my IDE
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...