0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
def edward_okech(): """ An introduction of my self.""" print ' I am a newbiee to this website and python.' print ' I am from Kenya, Africa.' print 'Am here to get more insight on python and other relevant technologies' print 'Thank you' edward_okech()
def x(): sum = 0 lst = [] while 1: inp = input('enter a number:\n') if inp == 'done': break lst.append(int(inp)) sum += inp print sum
def x(): count = 0 initials = input('enter your initials:\n').upper() text = input('enter your text:\n').upper() for initial in initials: if initial in text: count += 1 print 'your text contains:', count , 'values from your initials'
The End.