Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

Computer Sciences

2019

Open Educational Resources

Python

File Type

Articles 1 - 7 of 7

Full-Text Articles in Physical Sciences and Mathematics

Cs04all: Command Line Python, Hunter R. Johnson Feb 2019

Cs04all: Command Line Python, Hunter R. Johnson

Open Educational Resources

Command Line Tutorial

Students are presented with information relating to stand alone Python programs, stdin, stdout, and command line arguments. This is a lab exercise. After completion students should be able to create executable Python programs which can accept input from stdin or command line arguments.

Please begin with the READ_ME file.

https://cocalc.com/share/bde99afd-76c8-493d-9608-db9019bcd346/171/stdin?viewer=share/

This OER material was produced as a result of the CS04ALL CUNY OER project


Cs04all: List Comprehensions, Hunter R. Johnson Feb 2019

Cs04all: List Comprehensions, Hunter R. Johnson

Open Educational Resources

List Comprehensions

This is a tutorial on list comprehensions in Python, suitable for use in an Intro or CS0 course. We also briefly mention set comprehensions and dictionary comprehensions.

https://cocalc.com/share/bde99afd-76c8-493d-9608-db9019bcd346/171/list_comprehensions?viewer=share/

This OER material was produced as a result of the CS04ALL CUNY OER project


Activity - Python Functions - Scrabble Game, Robert J. Domanski Jan 2019

Activity - Python Functions - Scrabble Game, Robert J. Domanski

Open Educational Resources

A Python Functions activity - "Scrabble game" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Functions - Drawing With Turtle, Robert J. Domanski Jan 2019

Activity - Python Functions - Drawing With Turtle, Robert J. Domanski

Open Educational Resources

A Python Functions activity - "Drawing with Turtle" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Lists - "Hangman Game", Robert J. Domanski Jan 2019

Activity - Python Lists - "Hangman Game", Robert J. Domanski

Open Educational Resources

A Python Lists activity - "Hangman game" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python Lists - "Gift Exchange", Robert J. Domanski Jan 2019

Activity - Python Lists - "Gift Exchange", Robert J. Domanski

Open Educational Resources

A Python Lists activity - "Gift Exchange" - for CS0 students. Part of the CUNY CS04All project.


Activity - Python If-Else - "The Dating Equation", Robert J. Domanski Jan 2019

Activity - Python If-Else - "The Dating Equation", Robert J. Domanski

Open Educational Resources

A Python IF-ELSE activity - "The Dating Equation" - for CS0 students. Part of the CUNY CS04All project.