Can anyone write AI sample code using python?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Can anyone write AI sample code using python??

14th May 2018, 9:52 AM
Santosh Kumar Reddy
Santosh Kumar Reddy - avatar
2 Réponses
0
sample AI After opening a blank python file, type the following code: --- = tab while True: ---userInput = input(">>> ") ---if userInput in ['hi', 'HI', 'Hi']: ------print("Hello") ---else: ------print("I did not understand what you said")
17th May 2018, 4:12 AM
Rajeeb