Posts by MessiTech • 15 points
2 posts
-
-1
votes1
answer65
viewsQ: How to remove n while reading lines from a file
I am making a chart using a CSV file through the matplotlib, but when I print I realize that he gets \n at the end of each line, the question is how I can resolve? My code: import matplotlib.pyplot…
-
-5
votes2
answers73
viewsQ: How to print the number that appears odd times (Python 3)
num = input() numerosString = num.split(" ") numeros = [int(numero) for numero in numerosString] numeros.sort() print(" ".join(map(str,numeros))) The question asks as output in the first line the…
python-3.xasked MessiTech 15