calthoff / self_taught

This repository contains the exercises for "The Self-Taught Programmer: The Definitive Guide to Programming Professionally."
http://theselftaughtprogrammer.io
267 stars 226 forks source link

Not sure if this is an issue with my computer #19

Open zkg363n opened 6 years ago

zkg363n commented 6 years ago

Hello World! I'm new here! I have the following issue... When i put the following

image

This on my end... image it doesn't display the 100 no results

The book shows this... image

At the end it supposed to display 100 Please advise.

calthoff commented 6 years ago

Hey there! When you type code into Python's shell, the output is sometimes different than when you save a program and run it. Try typing the same code into the shell, instead of saving and running it, and 100 should print.

zkg363n commented 6 years ago

Yes! That worked! I thought I was doing something wrong. Thanks!

GregKail commented 5 years ago

I'm not sure what i'm missing, but when I save as and run any math do not get the expected result I get this Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information.

============= RESTART: C:/Users/gkail/Desktop/length diagonal.py =============

calthoff commented 5 years ago

Please post this in the Facebook group https://www.facebook.com/groups/selftaughtprogrammers

On Wed, Jan 2, 2019 at 5:50 PM GregKail notifications@github.com wrote:

I'm not sure what i'm missing, but when I save as and run any math do not get the expected result I get this Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information.

============= RESTART: C:/Users/gkail/Desktop/length diagonal.py

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/calthoff/self_taught/issues/19#issuecomment-451038209, or mute the thread https://github.com/notifications/unsubscribe-auth/AID8z2Jr3ind68yCCqpwx3mhFdh1s5FRks5u_WHogaJpZM4TER2i .

-- Cory Althoff www.goselftaught.com http://www.goselftaught.com