[Tutor] how do I make my code better?

2014-08-18 Thread keith papa
Am a newbie and I decided to code a program that you input a round number and spit out the list of names or other information? how do I make this better? how do I make the code repeat itself, so I can keep asking the program to print out list of names for a variable? here my code: print 'Hel

[Tutor] Exercise to work on

2014-08-12 Thread keith papa
Hi, am a newbie to python and I wondering if you guys can give me some exercise to work on. I have learned: print function , if function , strings, variables, and raw_input. The more the better ___ Tutor maillist

[Tutor] Is this possible for a newbie?

2014-07-20 Thread keith papa
Am a newbie to programming and I started learning python days ago. I have this idea I want to execute, am a big sport and fantasy fan and I wanted to create something that will make it things a little easy for me. My idea is simple I want to create a program that I can enter name and some inform

[Tutor] need help reading the code

2014-07-07 Thread keith papa
# Hi am leaning python with A Byte of Python - Swaroop CH and am a little confused with The format method. So I leaned that printing the code: >>>age = 20 >>>name = 'Swaroop' >>>print '{0} was {1} years old when he wrote this book'.format(name, age) >

[Tutor] learning to programming questions part 2

2014-07-01 Thread keith papa
Hi am leaning to program in python with the book "think python" I have read both chapters 1 and 2 about string and variables and keywords., so I decide to look online for some practice to help me and I found something on http://www.pyschools.com/ 1.Write the function countA(word) that takes

[Tutor] learning to programming questions part 1

2014-06-24 Thread keith papa
1. Hi am new to python and I have a few questions: Why if you want to write multiple comment you use triple quotation marks and not the #? 2. I found this code to be interesting to me because it printed an output of [1,2,3,4,5,6,7] and not [1,2,3,4:4,5,6,7] why is that? Insert two or more element

[Tutor] Tips

2014-06-17 Thread keith papa
Hi, I want to no what some tips or information you can give me to remember some of the rules of python, when you first start learning programming? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.pytho

[Tutor] python errors

2014-04-14 Thread keith papa
Hi am a new to programming and I reading the book "Think python" am on chapter one and it mentioned some errors I need to look out for like: Syntax errors, Runtime errors and semantic errors. I wanted to know if you guys have some examples of the errors?

[Tutor] A Byte of Python or Learn python the hard way

2014-04-13 Thread keith papa
I want to start learning python today and I wanted to know which book I should start with: A Byte of Python or Learn python the hard way? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscripti

[Tutor] understanding Functions help

2014-04-07 Thread keith papa
Hi my name is keith and am new to python programming, Am learning python for the first time with the help of coursera problem is am starting a new topic call functions in python and am totally lost. can you please help me understand how function work? why it use in python, what are the rules