Ask your own question, for FREE!
Computer Science 23 Online
OpenStudy (anonymous):

hi everybody who knows python?

OpenStudy (anonymous):

i know a bit what do you need?

OpenStudy (anonymous):

i have to write a personal project, hotel reservation, i have many problems

OpenStudy (anonymous):

1-a dictionary for rooms: this dictionary should be as follows: a) the key is an integer, which representst the room id b) the value of the dioctionary is a dictionary itself: b-1) this dictionary should have the key as string and the values of the kets as strings as well. You will have three keys: 1) "type" 2) "guest name" 3) "start_date" 4) "end_date"

OpenStudy (anonymous):

do you know any site whichmay help me?

OpenStudy (anonymous):

idk, can't you ask your friends from same course? or your academic tutor?

OpenStudy (anonymous):

yes i can but every body is busy here on own project

OpenStudy (anonymous):

so you want to create a hotel class or something?

OpenStudy (anonymous):

well you can use a dict where the keys are roomids and the values are tuples

OpenStudy (anonymous):

and simply write methods to amend that dict

OpenStudy (anonymous):

if you have prior knowledge of programming with php or even c or vb and javascript, using python is no difficult........you can take few drills at code.he.net.......and there you go!

OpenStudy (anonymous):

right. Python has pretty powerful libraries. It's like executable pseudocode

OpenStudy (anonymous):

check this out helen http://docs.python.org/tutorial/

OpenStudy (anonymous):

and these http://sthurlow.com/python/

OpenStudy (rsmith6559):

foo = { 1 : { "string" : [ "type", "guest name", "start_date", "end_date" ] } }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!