[Tutor] Question
Prayash Bhuyan
bhuyanprayash18 at gmail.com
Mon Apr 10 10:27:57 EDT 2023
I wanted to created a program that prompts the user for a name if the name
is the list it will randomly generate a group to the name and then
again should promt for the next name until all the name in the list is
given as input..But if a wrong name is given as input it should repromt the
user again for name but should not consider to be one of the iteration of
the one that runs when the name is in the list.I am not able to do this
...Please help
my code is attached here for your reference along with the output..
you can clearly see in the output section that when i entered a name that
is not in the list it considered it as an iteration of it own and the loop
ended with one name still left on the list i donot want that.. can you
please help
More information about the Tutor
mailing list