• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Help with a code.

I know that thiss code is a mess butI only want to know why my variable zwyciestwo takes value from tab2[6]. https://code.sololearn.com/c24ttal07e19/?ref=app https://code.sololearn.com/c24ttal07e19/?ref=app

codehelp
25th Oct 2017, 2:15 PM
Kurogami
Kurogami - avatar
1 Answer
+ 5
tab2[6] doesn't exist. You only declared tab2[0] to tab2[5].
25th Oct 2017, 2:25 PM
John Wells
John Wells - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
When your heart are gone
1 Votes
Hi im a begneer and i dont understand how to code if anyone whos smart replay
1 Votes
Python question
3 Votes
i want correct anwer code
0 Votes
I am a beginner here
3 Votes
Where do I find saved code?
1 Votes
Hello everyone, umm i downloaded this app today , and I am a bit confused about this
0 Votes
In data science, which part is easy to learn and which is hard, and why? Which part is most important to data science?
1 Votes
SVG Animation: Container Problems - Any Suggestions?
0 Votes
Python me variable ka use kya hai
1 Votes