Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Random Tip

Be on the lookout for loop syntax that belongs to another language when students are learning multiple languages because they sometimes confuse syntax and create hard to spot bugs.

Share Be on the lookout for loop syntax that belongs to another language when students are learning multiple languages because they sometimes confuse syntax and create hard to spot bugs. with FacebookShare Be on the lookout for loop syntax that belongs to another language when students are learning multiple languages because they sometimes confuse syntax and create hard to spot bugs. with Twitter
    Here are some examples of for loops in different languages to look out for:
    • Python: for x in range(0, 9):     # your code goes here
    • Java: for (int x=0; x<10; x++) {     // your code goes here }
    • C: int x; for ( x=0; x<10; x++) {     /* your code here */ }

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy