Git Product home page Git Product logo

introduction-programming-python's Introduction

Introduction-Programming-Python

All of the slides, answer files and other solutions used during the Introduction to Programming

introduction-programming-python's People

Contributors

hockeygeekgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

introduction-programming-python's Issues

Module 10 help

Hello!
I'm new to programming and was having some difficulty with the challenge for module 10. When I tried to load the solution for the challenge, I kept getting an error about the project being not found. Upon closer inspection of the file, I noticed that the extension is ".sln" and not ".py". Is there anyway that the ".py" file could be uploaded?

P.S. Excellent series!!!

calculating the shipping order

I decided to add Boolean variable to this code of solving it and whenever I ran my code I get additional $1 added if the total shipping order exceeds or equals $50. Why?
This is the code:

Program to calculate a shipping order and give a tip of free shipping if order exceeds $50 else $10 fee

shippingFee = False
sumTotal = 0

orderTotal = float(input("Enter the total amount of order "))
if orderTotal >= 50:
shippingFee = True
print("Shipping is free")

else:
shippingFee = 10
print("Shipping fee will cost additional $10")

sumTotal = orderTotal + shippingFee

print("Your total shipping fee with order is $%2f" % sumTotal)
print("Your total shipping fee with order is $" + str(sumTotal))

Proposing a PR to fix a few small typos

Issue Type

[x] Bug (Typo)

Steps to Replicate and Expected Behaviour

  • Examine Solutions/Module14FileMissingErrorChallengeSolution.py, Solutions/Module15ProblemToCodeSolutionReadTxtMessage.py and observe succesfully, however expect to see successfully.
  • Examine Solutions/Module12ReadCSVfileChallenge.py and observe indivudal, however expect to see individual.
  • Examine Solutions/Module14FileMissingErrorChallengeSolution.py and observe coorupte, however expect to see corrupted.
  • Examine Solutions/Module15ProblemToCodeSolutionReadTxtMessage.py and observe concatentate, however expect to see concatenate.

Notes

Semi-automated issue generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

To avoid wasting CI processing resources a branch with the fix has been
prepared but a pull request has not yet been created. A pull request fixing
the issue can be prepared from the link below, feel free to create it or
request @timgates42 create the PR.

https://github.com/timgates42/Introduction-Programming-Python/pull/new/bugfix_typos

Thanks.

Solution to challenge 10 missing

here is a possible solution:

start the list

guests = []
guestAddition = input ('please enter guest name, enter stop when done')
while guestAddition != 'stop' :
guests.append(guestAddition)
guestAddition = input ('please enter guest name, stop to finish')
#print the list as entered
print (guests)
#sort the list
guests.sort()
#print the names one by one in alphabetical order
numValues = len (guests)
for steps in range(numValues) :
print (guests[steps])

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.