I know this might be a simple question but I can't seem to figure how to put a string after the for loop variable
stud_num = int(input("How many students do you have? "))
test_num = int(input("How many test for your module? "))
score = 0
for i in range(stud_num):
print("******** Student #", i+1, "********")
for s in range(test_num):
print("Test number ", end="")
score1 = float(input(s+1))
score += score1
My sample output for asking the question would be
Test number 1 :
but now my current output from
print("Test number ", end="")
score1 = float(input(s+1))
is
Test number 1
I can't figure out how to put the ": "
into the input because it gives me an error saying that it expects an int
but gets a str