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 Antworten
+ 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