Ask coding questions

← Back to all posts
Rusaf2005 (0)

how do i make it so if i write something specific then the code will say something different

Answered by Vandesm14 (2736) [earned 5 cycles]
View Answer
Vandesm14 (2736)

Can you explain more? And what language?

Rusaf2005 (0)

@Vandesm14 in python if i say something specific then the program will say something different other than the usual response

Vandesm14 (2736)

@Rusaf2005 If you program in Python to do something, it will most likely do it. Do you have a repl link or something? Your question is so vague.

But if you're asking if python will do something completely random and not what you said, most likely not. As long as your code works it will do what it's supposed to.

Rusaf2005 (0)

@Vandesm14 thanks :) and sorry for making the question a bit vague im relatively new to coding