Dad jokes are funUnholy Grail Layout (Reverse Holy Grail Layout)Track listings to time tablesWho has the most stars in The Nineteenth Byte?Count the divisors of a numberParse a two-dimensional syntaxIndexable quineSort these bond ratingsHexplosive ASCII-art challengeIs the matrix rank-one?Declare a Code Golf Winner
Gravitational Force Between Numbers
Did Game of Thrones end the way that George RR Martin intended?
Why is the Eisenstein ideal paper so great?
Moons and messages
Local variables in DynamicModule affected by outside evaluation
Is this homebrew "Cactus Grenade" cantrip balanced?
Why was this character made Grand Maester?
Using too much dialogue?
How to write numbers and percentage?
Did significant numbers of Japanese officers escape prosecution during the Tokyo Trials?
Cisco 3750X Power Cable
To exponential digit growth and beyond!
Are PMR446 walkie-talkies legal in Switzerland?
Possibility of faking someone's public key
Can flying creatures choose to hover, even if they don't have hover in their flying speed?
How to remove new line added by readarray when using a delimiter?
Visual Block Mode edit with sequential number
Storing voxels for a voxel Engine in C++
How do you earn the reader's trust?
Can a UK national work as a paid shop assistant in the USA?
relative price of a transistor and a capacitor
"Official wife" or "Formal wife"?
How does Dreadhorde Arcanist interact with split cards?
Merge pdfs sequentially
Dad jokes are fun
Unholy Grail Layout (Reverse Holy Grail Layout)Track listings to time tablesWho has the most stars in The Nineteenth Byte?Count the divisors of a numberParse a two-dimensional syntaxIndexable quineSort these bond ratingsHexplosive ASCII-art challengeIs the matrix rank-one?Declare a Code Golf Winner
$begingroup$
We all know the classic dad joke that goes something like this:
Somebody says a sentence to describe their self (e.g.
I'm tired
orI'm confused
).A dad-joke enthusiast comes along and replies
Hi <adjective>, I'm Dad!
, because introductions follow the same format (I'm Peter
follows the same format asI'm hungry
).
Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.
Test cases (assume that they are being parsed by Python):
I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python
Now assume that these test cases are being parsed by Golfscript:
I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!
The exact challenge:
Take in a string in the self-descriptor format (
I'm <adjective>
orI'm a(n) <noun>
) using standard input or through a function.Assume there is no ending punctuation.
Assume the word
I'm
is used and notI am
.
Convert it to a dad-joke format - see the above examples for exactly how that should look.
Other stuff:
This is code-golf, so shortest byte count wins.
Follow the standard loophole rules - none of those, please.
Have fun!
Leaderboard
You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text
) with the following info:
The name of the language (end it with a comma
,
or dash-
), followed by...The byte count, as the last number to appear in your header.
For example, JavaScript (ES6), 72 bytes
is valid, but Fortran, 143 bytes (8-bit)
is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
code-golf natural-language
$endgroup$
add a comment |
$begingroup$
We all know the classic dad joke that goes something like this:
Somebody says a sentence to describe their self (e.g.
I'm tired
orI'm confused
).A dad-joke enthusiast comes along and replies
Hi <adjective>, I'm Dad!
, because introductions follow the same format (I'm Peter
follows the same format asI'm hungry
).
Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.
Test cases (assume that they are being parsed by Python):
I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python
Now assume that these test cases are being parsed by Golfscript:
I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!
The exact challenge:
Take in a string in the self-descriptor format (
I'm <adjective>
orI'm a(n) <noun>
) using standard input or through a function.Assume there is no ending punctuation.
Assume the word
I'm
is used and notI am
.
Convert it to a dad-joke format - see the above examples for exactly how that should look.
Other stuff:
This is code-golf, so shortest byte count wins.
Follow the standard loophole rules - none of those, please.
Have fun!
Leaderboard
You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text
) with the following info:
The name of the language (end it with a comma
,
or dash-
), followed by...The byte count, as the last number to appear in your header.
For example, JavaScript (ES6), 72 bytes
is valid, but Fortran, 143 bytes (8-bit)
is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
code-golf natural-language
$endgroup$
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago
add a comment |
$begingroup$
We all know the classic dad joke that goes something like this:
Somebody says a sentence to describe their self (e.g.
I'm tired
orI'm confused
).A dad-joke enthusiast comes along and replies
Hi <adjective>, I'm Dad!
, because introductions follow the same format (I'm Peter
follows the same format asI'm hungry
).
Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.
Test cases (assume that they are being parsed by Python):
I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python
Now assume that these test cases are being parsed by Golfscript:
I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!
The exact challenge:
Take in a string in the self-descriptor format (
I'm <adjective>
orI'm a(n) <noun>
) using standard input or through a function.Assume there is no ending punctuation.
Assume the word
I'm
is used and notI am
.
Convert it to a dad-joke format - see the above examples for exactly how that should look.
Other stuff:
This is code-golf, so shortest byte count wins.
Follow the standard loophole rules - none of those, please.
Have fun!
Leaderboard
You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text
) with the following info:
The name of the language (end it with a comma
,
or dash-
), followed by...The byte count, as the last number to appear in your header.
For example, JavaScript (ES6), 72 bytes
is valid, but Fortran, 143 bytes (8-bit)
is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
code-golf natural-language
$endgroup$
We all know the classic dad joke that goes something like this:
Somebody says a sentence to describe their self (e.g.
I'm tired
orI'm confused
).A dad-joke enthusiast comes along and replies
Hi <adjective>, I'm Dad!
, because introductions follow the same format (I'm Peter
follows the same format asI'm hungry
).
Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.
Test cases (assume that they are being parsed by Python):
I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python
Now assume that these test cases are being parsed by Golfscript:
I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!
The exact challenge:
Take in a string in the self-descriptor format (
I'm <adjective>
orI'm a(n) <noun>
) using standard input or through a function.Assume there is no ending punctuation.
Assume the word
I'm
is used and notI am
.
Convert it to a dad-joke format - see the above examples for exactly how that should look.
Other stuff:
This is code-golf, so shortest byte count wins.
Follow the standard loophole rules - none of those, please.
Have fun!
Leaderboard
You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text
) with the following info:
The name of the language (end it with a comma
,
or dash-
), followed by...The byte count, as the last number to appear in your header.
For example, JavaScript (ES6), 72 bytes
is valid, but Fortran, 143 bytes (8-bit)
is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>
code-golf natural-language
code-golf natural-language
asked 1 hour ago
connectyourchargerconnectyourcharger
1207
1207
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago
add a comment |
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago
add a comment |
5 Answers
5
active
oldest
votes
$begingroup$
Jelly, 20 bytes
œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;
Try it online!
A monadic link taking the input as its argument and returning a Jelly string.
$endgroup$
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Ruby -p
, 32 bytes
-p
takes input from STDIN as $_
and outputs it at the end. sub
is a function that performs a regex substitution on $_
.
sub /I'm(.*)/,"Hi\1, I'm Ruby!"
Try it online!
$endgroup$
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
brainfuck, 164
,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.
Try it online!
The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.
$endgroup$
add a comment |
$begingroup$
J, 27 bytes
', I''m J!',~'Hi',i.&' '}.]
Try it online!
$endgroup$
add a comment |
$begingroup$
Python 3, 35 bytes
lambda s:"Hi"+s[3:]+", I'm Python!"
Try it online!
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "200"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f185872%2fdad-jokes-are-fun%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Jelly, 20 bytes
œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;
Try it online!
A monadic link taking the input as its argument and returning a Jelly string.
$endgroup$
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Jelly, 20 bytes
œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;
Try it online!
A monadic link taking the input as its argument and returning a Jelly string.
$endgroup$
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Jelly, 20 bytes
œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;
Try it online!
A monadic link taking the input as its argument and returning a Jelly string.
$endgroup$
Jelly, 20 bytes
œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;
Try it online!
A monadic link taking the input as its argument and returning a Jelly string.
answered 1 hour ago
Nick KennedyNick Kennedy
2,39459
2,39459
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Hang on, Jelly has a built-in just for the word "Jelly"?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
@connectyourcharger it’s a compressed dictionary word
$endgroup$
– Nick Kennedy
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Ah, that makes sense
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Ruby -p
, 32 bytes
-p
takes input from STDIN as $_
and outputs it at the end. sub
is a function that performs a regex substitution on $_
.
sub /I'm(.*)/,"Hi\1, I'm Ruby!"
Try it online!
$endgroup$
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Ruby -p
, 32 bytes
-p
takes input from STDIN as $_
and outputs it at the end. sub
is a function that performs a regex substitution on $_
.
sub /I'm(.*)/,"Hi\1, I'm Ruby!"
Try it online!
$endgroup$
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Ruby -p
, 32 bytes
-p
takes input from STDIN as $_
and outputs it at the end. sub
is a function that performs a regex substitution on $_
.
sub /I'm(.*)/,"Hi\1, I'm Ruby!"
Try it online!
$endgroup$
Ruby -p
, 32 bytes
-p
takes input from STDIN as $_
and outputs it at the end. sub
is a function that performs a regex substitution on $_
.
sub /I'm(.*)/,"Hi\1, I'm Ruby!"
Try it online!
edited 1 hour ago
answered 1 hour ago
Value InkValue Ink
8,145731
8,145731
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Cool! Where's your input?
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
@connectyourcharger added an explanation. Input is STDIN.
$endgroup$
– Value Ink
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
$begingroup$
Gotcha. Good answer!
$endgroup$
– connectyourcharger
1 hour ago
add a comment |
$begingroup$
brainfuck, 164
,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.
Try it online!
The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.
$endgroup$
add a comment |
$begingroup$
brainfuck, 164
,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.
Try it online!
The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.
$endgroup$
add a comment |
$begingroup$
brainfuck, 164
,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.
Try it online!
The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.
$endgroup$
brainfuck, 164
,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.
Try it online!
The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.
answered 46 mins ago
cardboard_boxcardboard_box
4,0651430
4,0651430
add a comment |
add a comment |
$begingroup$
J, 27 bytes
', I''m J!',~'Hi',i.&' '}.]
Try it online!
$endgroup$
add a comment |
$begingroup$
J, 27 bytes
', I''m J!',~'Hi',i.&' '}.]
Try it online!
$endgroup$
add a comment |
$begingroup$
J, 27 bytes
', I''m J!',~'Hi',i.&' '}.]
Try it online!
$endgroup$
J, 27 bytes
', I''m J!',~'Hi',i.&' '}.]
Try it online!
answered 34 mins ago
JonahJonah
3,2881019
3,2881019
add a comment |
add a comment |
$begingroup$
Python 3, 35 bytes
lambda s:"Hi"+s[3:]+", I'm Python!"
Try it online!
$endgroup$
add a comment |
$begingroup$
Python 3, 35 bytes
lambda s:"Hi"+s[3:]+", I'm Python!"
Try it online!
$endgroup$
add a comment |
$begingroup$
Python 3, 35 bytes
lambda s:"Hi"+s[3:]+", I'm Python!"
Try it online!
$endgroup$
Python 3, 35 bytes
lambda s:"Hi"+s[3:]+", I'm Python!"
Try it online!
answered 16 mins ago
StephenStephen
7,59723499
7,59723499
add a comment |
add a comment |
If this is an answer to a challenge…
…Be sure to follow the challenge specification. However, please refrain from exploiting obvious loopholes. Answers abusing any of the standard loopholes are considered invalid. If you think a specification is unclear or underspecified, comment on the question instead.
…Try to optimize your score. For instance, answers to code-golf challenges should attempt to be as short as possible. You can always include a readable version of the code in addition to the competitive one.
Explanations of your answer make it more interesting to read and are very much encouraged.…Include a short header which indicates the language(s) of your code and its score, as defined by the challenge.
More generally…
…Please make sure to answer the question and provide sufficient detail.
…Avoid asking for help, clarification or responding to other answers (use comments instead).
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f185872%2fdad-jokes-are-fun%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
25 mins ago