0
Beginner - pls help me fix my Study Progress program
Iâm getting a syntax error around the last block, I know itâs something basic but I canât find it.. please help me spot the errors!! date = int(input("What's today's date?")) days = date - 22 lessons = days * 7 done = int(input("How many lessons complete?") print("You've been practicing for " + days + "days!") ((After I fix this output, Iâm going to add code so it compares lessons completed to the expected total given how many days of practice, and outputs whether Iâm on track and by how much... thatâs why Iâve defined a variable for #of completed lessons)) Thanks everybody! đđŒ
5 RĂ©ponses
+ 1
Input("how many...")
You are missing a )
0
Thanks so much for the reply! Iâll fix that!!
0
Jennywren , in print function change days to str(days), because integer cannot be concatenated to strings.
0
TheWhÂĄteCat đ§đŹ Thatâs what I understood, but i was getting an error - I think because I had the parenthesis around (str) instead of days đ
- Thank you!!
0
You are welcome đ±, Jennywren