var = raw_input("Enter the properties of the product in the format Price|Discount|Points")
So If I wanted to get what they input for the price, how would I get just before the first |?




Posted 24 November 2012 - 12:30 AM
var = raw_input("Enter the properties of the product in the format Price|Discount|Points")
Posted 24 November 2012 - 12:36 AM
var.split("|")[0]
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
