实现上述功能的Python程序代码如下:
chepai = input('请输入您的车牌:浙A')
for i in range( , -1):
if '0' <= chepai[i] <='9':
lastnum = int(chepai[i])
if lastnum % 2 == 0:
print('车牌尾号双号,单号日限行!')
else:
print('车牌尾号为单号,双号日限行!')
break
划线处应填入代码是( )
微信扫码预览、分享更方便