How do I code a python interaction? Like I write input Hey wazzup and then the output says Hey imma good
user_input = input() text_template = 'Hey wazzup' if user_input == text_template: print('Hey imma good') else: print('Hello, dude!')
Yaroslav Vernigora Thanks my problem is now solved!
a = input("Enter the greetings: ") if("hey whatzzup" in a): print("Hey imma good") else: print("fine bro")
MikroMick you should thank him too. he tried hard for you 😉
Yaroslav Vernigora Ooookkk
Thanks Anonymous You did it great.
Sorry Anonymous the problem is already solved (with one answer!)
How do I generate a list with <N> unique elements randomly selected from another (already existing) list?
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements. beside code
I'm coding this for hours & can't make the value of the 5 random numbers round off to 2 decimal places like in the examples
Overloading + operator
( NEED HELP ) Halloween candy