Python Programming

Monday, March 30, 2015

Reading From Text File




Posted by Rahul Parikh at 6:22 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: read, reading, text file, txt file

Number Guessing Game (Updated)

This game is similar to an earlier game, but with the use of functions.

Posted by Rahul Parikh at 6:10 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: function, functions, while, While loop

Saturday, March 28, 2015

Tic Toe Game





 


Posted by Rahul Parikh at 7:32 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: add list, Else, game, if statement, list, While loop

Functions with Return

Simple program below demonstrates functions that are created to return values back to main program. The while loop is utilized to ask a question until an appropriate response is given.

Posted by Rahul Parikh at 6:54 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: functions, return, while, While loop
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

My photo
Rahul Parikh
I have worked in the biotech industry, for the past ten years, in the areas of quality control and analytical development.
View my complete profile

Blog Archive

  • ►  2014 (53)
    • ►  August (8)
    • ►  September (12)
    • ►  October (14)
    • ►  November (19)
  • ▼  2015 (51)
    • ►  January (10)
    • ►  February (6)
    • ▼  March (4)
      • Functions with Return
      • Tic Toe Game
      • Number Guessing Game (Updated)
      • Reading From Text File
    • ►  April (3)
    • ►  May (1)
    • ►  June (7)
    • ►  August (10)
    • ►  September (4)
    • ►  October (3)
    • ►  November (3)
  • ►  2016 (1)
    • ►  January (1)
Simple theme. Powered by Blogger.