Computer Science, asked by js6189764, 10 hours ago

A text file contain alpha numeric text. write a program that read this text and print only the number and digits of file. please give the correct answer.​

Answers

Answered by dxb4741421
2

Answer:

F = open("an.txt", "r")

for line in F :

 words = line.split()

 for i in words :

   for letter in i :

     if(letter. isdigit()) :

       print(letter)

its in python

i hope this helps please mark me as brainliest

Answered by dineshjdj58
1

Answer:

en answer ku keela comment nu iruku parunga,

adhula comment pannunga

Similar questions