GithubHelp home page GithubHelp logo

build-cool-stuff-with-python-book-revisions-'s People

Contributors

purcellconsult avatar

Watchers

 avatar

build-cool-stuff-with-python-book-revisions-'s Issues

Some explanation on string to clear up confusion

Original
print(city[-1]) # negative indices are permitted
print(city[::2]) # LsAgls

Suggestion
print(city[-1]) # negative indices are permitted, return the last character
print(city[::2]) # Skip every second character. LsAgls

A screenshot is in the incorrect place during HelloWorld setup

After Adding a HelloWorld Python file, there was suppose to be a screenshot because it said
"Once done here’s how your project setup should look:" but it's blank

But a few lines later it, an extra screenshot shows up after "Copy the following code into the editor:"

Screen Shot 2019-04-28 at 5 20 09 AM

Tuple

It seems I can modify a tuple without causing an error. Am I doing something wrong?

>>> nums = (1, 3, 5, 7)
>>> print(nums)
(1, 3, 5, 7)
>>> nums = (9,8,7,6)
>>> print(nums)
(9, 8, 7, 6)
>>> nums = (9,8,7)
>>> print(nums)
(9, 8, 7)

The 'and' truth table

ORIGINAL
The 'and' operator evaluates to false in all situations except when both operands are False.

NEW
The 'and' operator evaluates to false in all situations except when both operands are True.

Spelling error: whet => wet

If all went well then congrats you’ve ran your first python program. Now, there’s already a plethora of free curated information about PyCharm online. Here’s a couple of places to whet your appetite:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.