percentage = (a+b+c+d)/4
print("Your final mark will be:", percentage,"%")
Let's use 75
for example. 75 %
shows as the output, but how do I make it so there's no space. Like 75%
not 75 %
.
Note: I tried using the + sign but it causes an error. Even shows an error when I try the .join()
function. I have little experience with python, so I can't figure this out. I tried switching signs, spacing, removing the comma, placing the "%"
outside, but keeps showing an error.