Suggested Practical List Solution of CLASS XII COMPUTER SCIENCE 2021-22 (CBSE)

Computer Science CLASS-XII Subject Code 083   Solution of suggested practical list for Term-I ◘ Read a text file line by line and display each word separated by a ‘#’ filein = open(“mydoc.txt”,’r’) line =” ” while line: line = filein.readline() #print(line) for w in line: if w == ‘ ‘: print(‘#’,end = ”) else: print(w,end … Read more