You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We Can Apply This Kind (Given Below) Of Format Instead Of If-Else Loops as these are more convenient for creating conversations and I am Planning To Add A GUI Like Cortana.
It Would Be My Honor To Contribute, Please Allow Me To Contribute!
Regards
Arnav Singh
for text in Greetings1_In:
if str(text) in Query:
Random_Number = Rnum(0, len(Greetings1_Out)) #Rnum Is A Function for getting A random number!
Speak(Greetings1_Out[Random_Number])
break
for text in Greetings2_In:
if str(text) in Query:
Random_Number = Rnum(0, len(Greetings2_Out))
Speak(Greetings2_Out[Random_Number])
break
The text was updated successfully, but these errors were encountered:
We Can Apply This Kind (Given Below) Of Format Instead Of If-Else Loops as these are more convenient for creating conversations and I am Planning To Add A GUI Like Cortana.
It Would Be My Honor To Contribute, Please Allow Me To Contribute!
Regards
Arnav Singh
The text was updated successfully, but these errors were encountered: