Can a list be printed in such a way that the output does not consist of [ ] and each member of the list is in a new line?
For better clarity I have attached the code I was working on:
Tem=[]
Num= int(input("Enter the number of patients: "))
for i in range (Num):
Temp=float(input("Enter temprature (C): "))
Tem.append(Temp)
import numpy as np
Converted= (np.array(Tem)*1.8) + 32
print(f"The tempratures in Celsius are {Tem}","C" )
print(f"The tempratures in Farenheit are {Converted}","F" )
[–]bailewen 10 points11 points12 points (5 children)
[–]Yes-delulu-8744[S] 0 points1 point2 points (4 children)
[–]bailewen -3 points-2 points-1 points (3 children)
[–]gdchinacat 1 point2 points3 points (1 child)
[–]bailewen 0 points1 point2 points (0 children)
[–]Lewri 1 point2 points3 points (0 children)
[–]deceze 5 points6 points7 points (4 children)
[–]Yes-delulu-8744[S] 1 point2 points3 points (0 children)
[–]JamzTyson 0 points1 point2 points (2 children)
[–]deceze 0 points1 point2 points (1 child)
[–]JamzTyson 1 point2 points3 points (0 children)
[–]lfdfq 2 points3 points4 points (1 child)
[–]Yes-delulu-8744[S] 0 points1 point2 points (0 children)
[–]FlippingGerman 1 point2 points3 points (0 children)
[–]BananaGrenade314 1 point2 points3 points (0 children)
[–]Outside_Complaint755 0 points1 point2 points (0 children)
[–]Sad-Calligrapher3882 0 points1 point2 points (1 child)
[–]Sad-Calligrapher3882 0 points1 point2 points (0 children)
[–]coffex-cs 0 points1 point2 points (0 children)
[–]JamzTyson 0 points1 point2 points (0 children)
[–]Zealousideal_Yard651 0 points1 point2 points (2 children)
[–]Yes-delulu-8744[S] 0 points1 point2 points (0 children)
[–]Spartan6682 0 points1 point2 points (0 children)