Python Forum
function help (totaly beginner)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
function help (totaly beginner)
#1
Hello i have this assignment and i don't know how to continue.
User will write a word , example, table, and the program will print *t*a*b*l*e*

I appreciate your help

Here is where i am with my code:

def stars(s):
    letters = len(s)
    n = letters-1
    for i in range(letters):




def main():
    word = input("write a word ")
    print(word)


if __name__=='__main__':
    main()
Reply


Messages In This Thread
function help (totaly beginner) - by thanikos - Dec-07-2017, 12:32 PM
RE: function help (totaly beginner) - by thanikos - Dec-07-2017, 12:44 PM
RE: function help (totaly beginner) - by wavic - Dec-07-2017, 12:50 PM
RE: function help (totaly beginner) - by thanikos - Dec-07-2017, 12:56 PM
RE: function help (totaly beginner) - by wavic - Dec-07-2017, 01:10 PM
RE: function help (totaly beginner) - by gruntfutuk - Dec-07-2017, 03:07 PM
RE: function help (totaly beginner) - by thanikos - Dec-10-2017, 11:25 PM
RE: function help (totaly beginner) - by wavic - Dec-11-2017, 02:02 AM
RE: function help (totaly beginner) - by thanikos - Dec-11-2017, 08:55 AM
RE: function help (totaly beginner) - by Item97 - Dec-11-2017, 08:57 AM
RE: function help (totaly beginner) - by wavic - Dec-11-2017, 09:54 PM
RE: function help (totaly beginner) - by thanikos - Dec-12-2017, 07:12 PM
RE: function help (totaly beginner) - by wavic - Dec-12-2017, 08:48 PM
RE: function help (totaly beginner) - by thanikos - Dec-13-2017, 08:32 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020