text = '''******F**** *****W*****''' print ("text =",text) ls = text.splitlines() print ("ls =",ls) ls2 = [[letter for letter in line] for line in ls] print ("ls2 =",ls2)
Coordinates from a text file
Coordinates from a text file
|
|
Messages In This Thread |
Coordinates from a text file - by garry1415 - May-04-2020, 10:42 AM
RE: Coordinates from a text file - by anbu23 - May-04-2020, 10:59 AM
RE: Coordinates from a text file - by garry1415 - May-04-2020, 11:15 AM
RE: Coordinates from a text file - by DeaD_EyE - May-04-2020, 11:20 AM
RE: Coordinates from a text file - by garry1415 - May-04-2020, 12:10 PM
RE: Coordinates from a text file - by TomToad - May-04-2020, 12:46 PM
RE: Coordinates from a text file - by garry1415 - May-04-2020, 12:54 PM
RE: Coordinates from a text file - by DeaD_EyE - May-04-2020, 01:29 PM
|
Users browsing this thread: 1 Guest(s)