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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam PCAP topic 1 question 6 discussion

Actual exam question from Python Institute's PCAP
Question #: 6
Topic #: 1
[All PCAP Questions]

What is the output of the following piece of code?

  • A. ant' bat' camel
  • B. antג€batג€ camel
  • C. antbatcamel
  • D. print (a, b, c, sep= ' ג€ ')
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Dempsdawg
1 month ago
Selected Answer: D
I hate this one but the answer is D. Its very weird but the correct answer is ant"bat"camel
upvoted 1 times
...
Chandrakant123
9 months ago
Can someone share the entire dump?
upvoted 1 times
...
Administrator_Of_Silly_Walks
9 months, 2 weeks ago
Selected Answer: B
I know that B is technically the right answer, but what's with those weird symbols where the quotation marks should be?
upvoted 2 times
...
DrMKG
11 months, 1 week ago
NO correct anwer Correct answer is ant"bat"camel
upvoted 3 times
...
Ello2023
11 months, 3 weeks ago
Selected Answer: D
D. The sep="" is used to separate but because there is nothing in the speech marks the a, b, c variables will be printed together antbatcamel
upvoted 2 times
...
varshu_0708
11 months, 3 weeks ago
the answer is : ant"bat"camel
upvoted 2 times
...
Dinsha
1 year, 1 month ago
Selected Answer: B
Answer B
upvoted 3 times
...
naveenbv80
1 year, 4 months ago
a='ant' b='bat' c='camel' print(a,b,c,sep='"') Answer is ant"bat"camel
upvoted 2 times
andr3
1 year, 2 months ago
did you take exam recently if so - is this dump still valid ?
upvoted 2 times
...
...
N9
1 year, 7 months ago
Selected Answer: B
ant"bat"camel
upvoted 2 times
...
besha
1 year, 9 months ago
Selected Answer: B
ant"bat"camel
upvoted 1 times
...
666_m
1 year, 11 months ago
Correct answer is C
upvoted 2 times
...
macxsz
1 year, 11 months ago
Answer is B: B. ant"bat"camel
upvoted 1 times
...
rocky48
2 years, 1 month ago
Answer :- >>> a='ant' >>> b="bat" >>> c='camel' >>> print(a,b,c,sep='"') ant"bat"camel
upvoted 4 times
...
TheNetworkStudent
2 years, 1 month ago
Selected Answer: B
ant"bat"camel is correct, it's B
upvoted 1 times
...
techdawgs
2 years, 4 months ago
Selected Answer: C
I get C every time. Whether with single or double-quotes.
upvoted 1 times
...
FarukhJamal
2 years, 7 months ago
Ant"Bat'Camel Answer is B.
upvoted 1 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 ...