input/output #18
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								py/simple_chat.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								py/simple_chat.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| from api import api | ||||
| 
 | ||||
| chat1 = api() | ||||
| 
 | ||||
| while True: | ||||
|     print("Gib deine Frage ein") | ||||
|     input_text = input() | ||||
| 
 | ||||
|     output_text = api.send_message(chat1, input_text) | ||||
|     print(output_text) | ||||
		Reference in a new issue