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
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
1
Answer:
en answer ku keela comment nu iruku parunga,
adhula comment pannunga
Similar questions