0

can anyone tell me that what is getting wrong with this?

i tried and getting result... but in the qustion solving part it is not satisfying all the results.... password = input() repeat = input() def validate(password, repeat): if password==repeat: print("correct") else: print("wrong") validate(password,repeat)

20th Oct 2020, 6:36 PM
Rahul Prasad
Rahul Prasad - avatar
9 Réponses
+ 1
Change "correct" to "Correct" and "wrong" to "Wrong" that's it!
20th Oct 2020, 6:54 PM
Shadoff
Shadoff - avatar
+ 1
Rahul Prasad , what is the whole description of the task?
20th Oct 2020, 6:39 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
Is it codecoach problem? Please attach full description and task input, output example etc
20th Oct 2020, 6:41 PM
Shadoff
Shadoff - avatar
+ 1
Rahul Prasad , how many tests didn't pass?
20th Oct 2020, 6:44 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
What do you mean? Give the examples.
20th Oct 2020, 6:46 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
Avalon Thank You...! i missed that😅
20th Oct 2020, 7:00 PM
Rahul Prasad
Rahul Prasad - avatar
0
TheWh¡teCat 🇧🇬 You are given a program with two inputs: one as password and the second one as password repeat. Complete and call the given function to output "Correct" if password and repeat are equal, and output "Wrong", if they are not. Sample Input nfs1598 nfs1598 Sample Output Correct
20th Oct 2020, 6:40 PM
Rahul Prasad
Rahul Prasad - avatar
0
Avalon just above i gave it....
20th Oct 2020, 6:43 PM
Rahul Prasad
Rahul Prasad - avatar
0
TheWh¡teCat 🇧🇬 my output and their output matched...but all tests are showing failed...
20th Oct 2020, 6:45 PM
Rahul Prasad
Rahul Prasad - avatar