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

Exam PCAP All Questions

View all questions & answers for the PCAP exam

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
ManarB
3 months, 3 weeks ago
A-ant"bat"camel
upvoted 2 times
...
Dempsdawg
8 months, 1 week 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
1 year, 3 months ago
Can someone share the entire dump?
upvoted 1 times
...
Administrator_Of_Silly_Walks
1 year, 4 months 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
1 year, 6 months ago
NO correct anwer Correct answer is ant"bat"camel
upvoted 3 times
...
Ello2023
1 year, 6 months 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
1 year, 6 months ago
the answer is : ant"bat"camel
upvoted 2 times
...
Dinsha
1 year, 8 months ago
Selected Answer: B
Answer B
upvoted 3 times
...
naveenbv80
1 year, 11 months ago
a='ant' b='bat' c='camel' print(a,b,c,sep='"') Answer is ant"bat"camel
upvoted 2 times
andr3
1 year, 9 months ago
did you take exam recently if so - is this dump still valid ?
upvoted 2 times
...
...
N9
2 years, 2 months ago
Selected Answer: B
ant"bat"camel
upvoted 2 times
...
besha
2 years, 4 months ago
Selected Answer: B
ant"bat"camel
upvoted 1 times
...
666_m
2 years, 6 months ago
Correct answer is C
upvoted 2 times
...
macxsz
2 years, 6 months ago
Answer is B: B. ant"bat"camel
upvoted 1 times
...
rocky48
2 years, 8 months ago
Answer :- >>> a='ant' >>> b="bat" >>> c='camel' >>> print(a,b,c,sep='"') ant"bat"camel
upvoted 4 times
...
TheNetworkStudent
2 years, 8 months ago
Selected Answer: B
ant"bat"camel is correct, it's B
upvoted 1 times
...
techdawgs
2 years, 11 months ago
Selected Answer: C
I get C every time. Whether with single or double-quotes.
upvoted 1 times
...
FarukhJamal
3 years, 1 month 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 ...