Difference between revisions of "Python Programming - Getting Started"

From Computer Science
Jump to: navigation, search
(Basic Python)
(List of Problems)
Line 23: Line 23:
 
* [https://www.hackerrank.com/challenges/python-arithmetic-operators/problem Python Arithmetic Operators]
 
* [https://www.hackerrank.com/challenges/python-arithmetic-operators/problem Python Arithmetic Operators]
 
* [https://www.hackerrank.com/challenges/python-loops/problem Python Loops]
 
* [https://www.hackerrank.com/challenges/python-loops/problem Python Loops]
* [https://www.hackerrank.com/challenges/nested-list/problem Nested List]
 
 
* [https://www.hackerrank.com/challenges/swap-case/problem Swap Case]
 
* [https://www.hackerrank.com/challenges/swap-case/problem Swap Case]
 
For a bit more practice with basic problems, try out more of the problems that are listed as "Easy".  Once you have completed the once listed in this section you should be ready to complete more of the "Easy" problems on your own.
 
For a bit more practice with basic problems, try out more of the problems that are listed as "Easy".  Once you have completed the once listed in this section you should be ready to complete more of the "Easy" problems on your own.
 +
* [https://www.hackerrank.com/challenges/write-a-function/problem Write a Function]
 +
* [https://www.hackerrank.com/challenges/text-wrap/problem Text Wrap]
  
 
===A Bit More Involved===
 
===A Bit More Involved===
These problems require nested loops, working with arrays, or other things that are the next level of difficulty. Solve all of the Basic Python problems before starting on these.
+
These problems require nested loops, working with lists of lists, reading a problem statement that takes more time to understand, or other things that are the next level of difficulty. Solve all of the Basic Python problems before starting on these.
 +
* [https://www.hackerrank.com/challenges/nested-list/problem Nested List]
 +
* [https://www.hackerrank.com/challenges/list-comprehensions/problem List Comprehensions]
 +
* [https://www.hackerrank.com/challenges/merge-the-tools/problem Merge the Tools]
 +
* [https://www.hackerrank.com/challenges/no-idea/problem No Idea]
 +
* [https://www.hackerrank.com/challenges/validating-credit-card-number/problem Validating Credit Card Number]
 +
* [https://www.hackerrank.com/challenges/words-score/problem Words Score]
 +
* [https://www.hackerrank.com/challenges/compress-the-string/problem Compress the String]
 +
* [https://www.hackerrank.com/challenges/word-order/problem Word Order]
  
 
===And a Bit More===
 
===And a Bit More===
 
These problems are still a bit more involved. Some require some abstract thinking about the problem, a programming "trick", or other key insight. Note that at this point you are working on problems such that some of the lab assistants in the unix lab may not have solved these problems. This is where you want to be at - you have mastered the basics and are working on problems independently!
 
These problems are still a bit more involved. Some require some abstract thinking about the problem, a programming "trick", or other key insight. Note that at this point you are working on problems such that some of the lab assistants in the unix lab may not have solved these problems. This is where you want to be at - you have mastered the basics and are working on problems independently!
 +
* [https://www.hackerrank.com/challenges/validating-postalcode/problem Validating Postalcode]
 +
* [https://www.hackerrank.com/challenges/matrix-script/problem Matrix Script]
 +
* [https://www.hackerrank.com/challenges/maximize-it/problem Maximize It]
  
 
===After That===
 
===After That===

Revision as of 15:40, 14 August 2019

This bootcamp is part of the Programming / CS Bootcamps

For a video explaining how to get started with this bootcamp, see https://www.youtube.com/watch?v=uLnhcCZS4-Y&t=424s

Getting Started

  1. Reading - start reading through at least one of the following before you start working on the programming problems.
    1. Think Python - suitable for people with very limited programming experience, not very deep
    2. LearnXinYminutes - quick review once you are familiar with the basics
    3. Python.org tutorial - good for those with programming experience already
  2. Work on solving these problems - https://www.hackerrank.com/domains/python. Start with the first problem and work your way up from there.
  3. Get Python installed on your computer - download the latest Python3 version at https://www.python.org/downloads/. Having python3 installed on your computer allows you to debug much quicker.
  4. If you are a current or incoming ISU student, or an ISU alumni, sign up for the ISU CS Mattermost at https://judy.indstate.edu. Note that you need to use your @sycamores.indstate.edu email address to sign up. Look for the Python Programming Channel (direct link is https://judy.indstate.edu/isu-cs/channels/python-programming). When asking about the hackerrank problems make sure to refer to them using the title hackerrank gives them.

Let's see how far you can get with solving the hackerrank problems! Good luck!

List of Problems

Here are problems to work on from the hackerrank set. Note that you should work on more than just this set, but these are ones we are ready to help you solve!

Basic Python

These problems are all pretty basic - require a single loop, if statement, etc. They are good when you are just getting started with Python.

For a bit more practice with basic problems, try out more of the problems that are listed as "Easy". Once you have completed the once listed in this section you should be ready to complete more of the "Easy" problems on your own.

A Bit More Involved

These problems require nested loops, working with lists of lists, reading a problem statement that takes more time to understand, or other things that are the next level of difficulty. Solve all of the Basic Python problems before starting on these.

And a Bit More

These problems are still a bit more involved. Some require some abstract thinking about the problem, a programming "trick", or other key insight. Note that at this point you are working on problems such that some of the lab assistants in the unix lab may not have solved these problems. This is where you want to be at - you have mastered the basics and are working on problems independently!

After That

If you are able to do all of the problems above, then you don't need us to give you lists of problems any more. You can pick problems to work through on your own. Some suggested places with problems are as follows.