← Back to Kurakani

python gurus please help to do this

Original Post

none Last edited: 05-Aug-12 11:11 PM

young_man
Aug 4, 2012 8:50 PM · 17,571 views
8 Replies
pokhrelikanchi Aug 4, 2012 9:51 PM
Any website to learn python for Beginner ? I am looking for one. sorry i can't help you for the answer
riddle Aug 4, 2012 9:57 PM
I genuinely thought you were on a lookout for a biologist who specialized on pythons. Man, I feel like a sheep.
maxpayne Aug 5, 2012 10:40 AM
Codeacademy.com is a free website which just started doing Python classes.
samaebajii Aug 5, 2012 5:38 PM
deleted! Last edited: 06-Aug-12 12:41 PM
divdude Aug 5, 2012 10:25 PM
I am spoon feeding you this because this is a little tough for beginner. Not the program part but the wiring part (command line arguments). So here it goes. import sys def dress_me(shirts, ties, suits): for shirt in shirts: for tie in ties: for suit in suits: print [shirt,tie,suit] args=sys.argv _shirts=eval(args[1]) _ties=eval(args[2]) _suits=eval(args[3]) dress_me(_shirts,_ties,_suits) save it in dressme.py and python dressme.py ['white','blue'] ['purple','yellow'] ['grey','blue'] you cant have space after comma in the list. Well, you can have but this program cannot comprehend such sabotage. You may dig and find a way to do it.
iinception Aug 6, 2012 2:14 AM
This is a good book : http://www.diveintopython.net/ for the beginners.
pokhrelikanchi Aug 6, 2012 8:08 AM
Thanks @Maxpayne , Samaebajii & inception . I might be asking you Questions later if you don't mind .
no_more_crush Aug 7, 2012 12:08 AM
can you also try the following (if it might interest you)- http://www.learnpython.org/ http://www.tutorialspoint.com/... ~GoodLuck
Login to join the conversation.

You might be interested in...

Latest Kurakani View all
Recent Classifieds View all
Upcoming Events View all
Service Providers View all
Ask Sajha AI Assistant