Elaine Collins
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
How do I write a code to verify that the filename entered by the user ends in .txt?
This is what I have so far. filename = input('Enter your filename ending in .txt: ', 's'); s1 = '.txt'; s2 == 'filename' ...
6 years 前 | 1 个回答 | 0