Share your repls and programming experiences

← Back to all posts
WOW
TandaraRose (11)

it is cool and i think that you can learn a lot from this code.

Commentshotnewtop
ThePhoenixfish (42)

Anyone who knows the basics of python can make this...

_>

AndrewVerrilli (2)

Wow, I really learned a lot from this. I look forward to you posting more!

Coder100 (3157)

Interesting. Enlighten me on the prospect of

if food == "tofu" and "spicy":

Is that the same as in javascript

if(food = "tofu" || food == "spicy"){
Coder100 (3157)

To clarify? never mind ill just search it up (duckduckgo it obviously) @AdCharity

AdCharity (1264)

@Coder100 Uhh I have no clue what you're saying but ok

gameplayrawesom (127)

This is horrible i could code this in like thirty seconds

AndersonLee (1)

Can you downvote? I accidentally pushed the button for it.

AdCharity (1264)

@AndersonLee that's not possible. just press the upvote button again if you want to retract your vote.

AtriDey (88)

@gameplayrawesom It's literally an else if that checks strings for spicy tofu. This is actual spam.

[deleted]

this is spam. Literally anybody can make this when they learn the basics of python

Thecrowbar1234 (146)

@TaylorLiang Yeah, this is very simple python code that most people who do python would know.

Thecrowbar1234 (146)

I'll give this person a chance. I've seen the projects this person made, and by the looks of it, he still is learning python.

Thecrowbar1234 (146)

But don't do this again, this is something that most people already know, and is not anything productive.

MadelineSalafsk (5)

@Thecrowbar1234 assuming it's a guy WOOOOOOWWWWW

TandaraRose (11)

It is rude to assume that all coders are guys.So please change the way that you refer to people. Thanks! @Thecrowbar1234

TandaraRose (11)

well just don't call people "guy" becasue you dont know what gender they are @Thecrowbar1234

Thecrowbar1234 (146)

@TandaraRose I formally apologize for my rudeness. Do you want me to just change the guy part into person?

Thecrowbar1234 (146)

And I was giving you a chance!

TandaraRose (11)

yes. thanks! you can also say they or them. @Thecrowbar1234

[deleted]

@MadelineSalafsk omg, I got offended by something that shouldn't bother me. There gender pronouns, theres no need to get offended over them

AtriDey (88)

@Thecrowbar1234 Still, they should know not to spam. I'm a novice at both C++ and Python and I don't spam. Although there is the possibility that they didn't know, in which case they hopefully learned.

AtriDey (88)

@MadelineSalafsk Overreaction to misuse of pronouns. Using "they" is grammatically wrong in many cases. This is a coding forum, not a debate on sexism. We're here to help each other learn, not start useless arguments.

TandaraRose (11)

and that is exactly why people should stop commenting "this is spam" and "this is horrible" there is no need to hate. Like you said, we are here to help each other [email protected]

TandaraRose (11)

By the way you are contradicting yourself. You commented "this is actual spam" but you say we are here to help each other learn. So, stop hating on my code. @AtriDey

AtriDey (88)

@TandaraRose Here comes the useless arguments again. By increasing the presence of spam complaints, I increase awareness of the problem, which is unrelated. By bringing up the purpose of the forum, I'm trying to cool off an argument about an unrelated controversy. Redditors have experience with these things.

And I'm not hating on your code, I just have problems with karma on spam posts. I admit there's some Reddit salt there, but hate isn't my point.

Now hopefully the arguments will come to an end.

MadelineSalafsk (5)

@AtriDey if it's not a place to start useless arguments why are you doing that by bringing this up again, I agree that we can now end this conversation.

AtriDey (88)

@MadelineSalafsk If it's over, then I'll gladly leave.

AtriDey (88)

@TandaraRose OK. Although before I go, I want to add that following up on my comment was exactly what @MadelineSalafsk was telling me not to do.

TandaraRose (11)

please stop spam commenting on my post. @AtriDey

[deleted]

@TandaraRose oh my god please stop commenting your clogging my notifications

MollyFox (1)

yall are rude this code is good.

AtriDey (88)

@MollyFox It's an else if string checker...
Serious or sarcastic? Don't want to be wooshed.

Foster_Bryant (97)

Can you not spam please? Thanks.

ripu (3)

what is the point of this

Carson08 (2)

What is the point of this? Or the point of

And “spicy”:

It does nothing it’s like if x=y and True:

JosephBishop0 (0)

The condition checking on this isn't actually checking if the user chose spicy sauce, it simply returns true that spicy is the contents of some string that hasn't been initialised as anything.