Community Profile

photo

Elaine Collins


Con actividad desde 2018

Statistics

  • Thankful Level 1

Ver insignias

Content Feed

Ver por

Pregunta


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' ...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta