Value printing vertically

9 views
Skip to first unread message

Joshua Edward

unread,
May 26, 2021, 12:36:36 PM5/26/21
to spyder
product_price = 
['48000', '35540', '29990', '41090', '28990', '4990', '43990', ......]

 for price in product_price:
      newprc = price
      print(newprc)
result:
4
8
0
0
3
,
5
4
2
9
,
9
9
0

why is this happening and hw can i solve it. This issue is not making me convert the values to a newprc_val = float( newprc)

yfprojects

unread,
May 27, 2021, 3:43:16 AM5/27/21
to spyder
Hello,

you will have to give more information since I can't reproduce your problem and I don't know where the problem is rooted.

Kind regards
yfprojects
Reply all
Reply to author
Forward
0 new messages