Community Profile

photo

Elaine Collins


Attivo dal 2018

Statistiche

  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta