Computer responding halp me lelea | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Computer responding halp me lelea

Pretty straight foward i want to make a list like: Test_list = [‘numberone’, ‘numbertwo’, ‘numberthree’, ‘numberfour’, ‘numberfive’] Print(Test_list) So if I say number one then then th computer will say something back. How do i make hat happen?

11th Oct 2017, 11:38 AM
Aidan
Aidan - avatar
1 Answer
0
you can access items through indexes >>print(Test_list[0]) >>numberone
11th Oct 2017, 12:32 PM
LayB
LayB - avatar