GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yvanss/python-intro: A set of Python exercises led by hints in comments - suitable for beginner / intermediate level

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENCE.md
LICENCE.md
 
 
README.md
README.md
 
 
intro.py
intro.py
 
 

Repository files navigation

Python Intro

A Python learning tool with beginner exercises in using variables, data structures and basic control flow.

Developed by Ben Nuttall for use in Raspberry Jams, STEM activities, Code Clubs, etc.

Designed to be compatible with both Python2 and Python3.

Also designed to be PEP-8 compliant to encourage good coding style.

Contents

  • Printing
  • Variables
  • Basic maths operators (add, subtract, multiply)
  • Basic variable types (strings, integers)
  • Concatenating strings
  • Casting an integer to a string
  • Booleans (True / False)
  • Inequalities (Greater Than / Less Than)
  • If/Else statements
  • Lists
  • List methods (append, extend)
  • Adding lists together with +
  • Sets
  • For Loops
  • Indexing strings
  • Splitting strings
  • Tuples
  • Dictionaries

How to use

  1. Download intro.py
    • Either click the link and save the file from your browser or use wget from the command line: wget http://goo.gl/dBpAfd -O intro.py --no-check-certificate.
  2. Open the file in IDLE3 or IDLE.
  3. Run the file with F5 to see the output
  4. Go back to the code and read the instructions, edit away, save and run again.

Issues and Pull Requests

If you have an issue and don't know how to fix it, please open an issue on GitHub.

If you would like to rephrase the wording or change the code, fork this project and create a pull request against the original repository which will be reviewed by the author.

Licence

Unless otherwise specified, everything in this repository is covered by the following license:

Creative Commons License

Python Intro by Ben Nuttall is licensed under a Creative Commons Attribution 4.0 International License.

Based on a work at https://github.com/bennuttall/python-intro

About

A set of Python exercises led by hints in comments - suitable for beginner / intermediate level

bennuttall.github.io/python-intro/

Resources

Readme
License

Contributing

Contributing
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.