hi everybody who knows python?
i know a bit what do you need?
i have to write a personal project, hotel reservation, i have many problems
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"
do you know any site whichmay help me?
idk, can't you ask your friends from same course? or your academic tutor?
yes i can but every body is busy here on own project
so you want to create a hotel class or something?
well you can use a dict where the keys are roomids and the values are tuples
and simply write methods to amend that dict
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!
right. Python has pretty powerful libraries. It's like executable pseudocode
foo = { 1 : { "string" : [ "type", "guest name", "start_date", "end_date" ] } }
Join our real-time social learning platform and learn together with your friends!