<filename>PythonStudy/BasicStudy/Chapter_3/Homework/homework3.1~3.3.py
#练习3-1
names = ['Jack','Mary','Thomas','Tom','Jerry']

print(names)


#练习3-2
for i in range(len(names)):
    print(f'How are you? {names[i]}')


#练习3-3
print('\n')
vehicles = ['bicycle','car','bus','subway','feet'] 
for i in range(len(vehicles)):
    print(f'I would like to go to school by/on {vehicles[i]}.')
<filename>PythonStudy/BasicStudy/Chapter_3/Homework/homework3.1~3.3.py
#练习3-1
names = ['Jack','Mary','Thomas','Tom','Jerry']

print(names)


#练习3-2
for i in range(len(names)):
    print(f'How are you? {names[i]}')


#练习3-3
print('\n')
vehicles = ['bicycle','car','bus','subway','feet'] 
for i in range(len(vehicles)):
    print(f'I would like to go to school by/on {vehicles[i]}.')
#练习3-1 #练习3-2 #练习3-3