This is some really basic code I have to complete for a programming class of mine I'm stuck here I get a print syntax error although I'm about 99% sure the format to print something in python 2.7.9 is print "text here". Please help google searches currently to no avail for me and I'm sure it's probably a quick solve.
minTot = 0 stepTot = 0 min = int(raw_input("Input the number of minutes (0 to exit): ")) if min == 0: print "No minutes input." else: while min != 0: minTot = minTot + min stepRate = int(raw_input("Input the step rate: ")) stepTot = stepTot + stepRate * min min = int(raw_input("Input the next number of minutes (0 to exit): ") print "\nTotal number of minutes:", min print "Total number of steps:", stepTot # Average is rounded down. print "Average step rate per minute: ", minTot/stepTot