173k views
24 votes
Can someone help me debug this please

(ik the third print statement under print results is messed up, i already fixed that and the problem is with line 11 where the red rectangle is)

Can someone help me debug this please (ik the third print statement under print results-example-1
User Bitkid
by
4.7k points

1 Answer

10 votes
Based on what I’m seeing, It seems like in the string of line 11 you’ve put “What is your first item?” When it should be “What is you second item”.

Word of advice: It’s would be best if you write your consent variables in camel case. It’s helps with debugging and over all helps a reader easily understand what your coding.
User MS Ibrahim
by
5.1k points