Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Updating An Existing Word and
Post: Updating An Existing Word and
This how we do it program:
Updating an existing word:
If the user selects to update a word they will be asked to input the word they would like to update.
>>>2
What word do you want to updat... |
|
captainflint |
Homework |
1 |
2,228 |
Jun-05-2018, 12:24 PM |
|
|
Thread: Random Math Text Based Game
Post: RE: Random Math Text Based Game
|
captainflint |
Homework |
2 |
4,484 |
Apr-02-2018, 10:07 PM |
|
|
Thread: Random Math Text Based Game
Post: Random Math Text Based Game
ı have math game which have random questions. In level 1 ı have one problem is limited.(only level 1 + operator). İf user correct answer he gain one stars. At 5 stars the game will end. I 'll Show you... |
|
captainflint |
Homework |
2 |
4,484 |
Mar-31-2018, 09:53 PM |
|
|
Thread: Login with using class
Post: RE: Login with using class
(Feb-03-2018, 06:12 AM)ka06059 Wrote: class userpass:
users = {"meryem":"4444","ahmet":"sehir123","gakkos":"2323"}
inventory = {'asparagus': [10, 5], 'broccoli': [15, 6], 'carrots': [18, 7],... |
|
captainflint |
Homework |
4 |
3,563 |
Feb-03-2018, 01:01 PM |
|
|
Thread: Login with using class
Post: Login with using class
users={"meryem":"4444","ahmet":"sehir123","gakkos":"2323"}
login=raw_input("Username: ")
inventory = {'asparagus': [10, 5], 'broccoli': [15, 6], 'carrots': [18, 7],
'apples': [20, 5], 'ba... |
|
captainflint |
Homework |
4 |
3,563 |
Feb-02-2018, 05:28 PM |
|
|
Thread: Study Questions
Post: RE: Study Questions
thank you my friend.
I am in beginner side pytohn because ı've started new.
Thanks a lot.. |
|
captainflint |
Homework |
8 |
5,778 |
Feb-02-2018, 12:27 PM |
|
|
Thread: Study Questions
Post: RE: Study Questions
believe me ı have did many things but ı can't reach result. Let me Show you my trials..
def unique_elem(str1,str2):
# for i in str1:
# if i not in str2:
#
# unique_elem("hel... |
|
captainflint |
Homework |
8 |
5,778 |
Feb-01-2018, 03:11 PM |
|
|
Thread: Study Questions
Post: RE: Study Questions
thakns but question is not related to your answer. :D
that question is if ı have two string in func.
if they have same letters print same letters only
for instance:
str1="halo"
str2="hello"
there ... |
|
captainflint |
Homework |
8 |
5,778 |
Feb-01-2018, 11:16 AM |
|
|
Thread: Study Questions
Post: Study Questions
Define a function unique_elem takes two strings str_1 and str_2 as inputs and prints
only the elements that occur in str_1 and not in str_2. Note: You are NOT allowed to
use the in operator.
>> ... |
|
captainflint |
Homework |
8 |
5,778 |
Jan-31-2018, 03:09 PM |
|
|
Thread: I freezed
Post: RE: I freezed
how ı add inventory to basket? |
|
captainflint |
Homework |
20 |
9,631 |
Jan-22-2018, 01:30 PM |
|
|
Thread: I freezed
Post: RE: I freezed
ı appreciate you.you must be hero thank you friend.it Works... :)))) <33 if ı take another problem will ı ask you if you want ? |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 09:08 PM |
|
|
Thread: I freezed
Post: RE: I freezed
sorry ı guess ı dont understand your code. can you show me with my codes your suggestion. |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 09:01 PM |
|
|
Thread: I freezed
Post: RE: I freezed
I misunderstood that I could not do it in any way.I try your code but it again give all inventory.
sorry ı waste your time ı'm grateful you..
if answer=="1":
inventory = ... |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 08:41 PM |
|
|
Thread: I freezed
Post: RE: I freezed
thank you bro but it will connected with what ı write ?
for example ı write juice program give only juice items or ı write eggs program must give me only eggs
is it possible ? |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 08:30 PM |
|
|
Thread: I freezed
Post: RE: I freezed
That's code.I printed inventory but ı need in the question of 'What are you searching for:" when ı search juice program must give me only juices.How ı supply it ?
users={"meryem":"4444","ahmet":"sehi... |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 05:51 PM |
|
|
Thread: I freezed
Post: RE: I freezed
ı did your suggest.but again it cant Show my inventory? |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 05:15 PM |
|
|
Thread: I freezed
Post: RE: I freezed
okey sorry ı did'nt know that.I have to create inventory and ı must use dictionary.When ı select 1 in the menü program must give me products list.such that;
inventory = {'asparagus': [10, 5], 'brocco... |
|
captainflint |
Homework |
20 |
9,631 |
Jan-21-2018, 04:39 PM |
|
|
Thread: I freezed
Post: RE: I freezed
ı could not add definition on my function.its very mixed how ı change my function ? |
|
captainflint |
Homework |
20 |
9,631 |
Jan-18-2018, 11:14 PM |
|
|
Thread: I freezed
Post: I freezed
message="***Welcome to Sehir Online Market***"
message2="Please log in by providing your user credentials:"
print message,('\n'),message2
users={"ahmet":"sehir123","meryem":"4444"}
login=raw_input("Us... |
|
captainflint |
Homework |
20 |
9,631 |
Jan-18-2018, 10:45 PM |
|
|
Thread: Using dictionary to login
Post: RE: Using dictionary to login
thank you very much bro. :)
Question:
When main menu item 1 is chosen, the user will be asked to provide search term(s). Then, your
program will display a list of all items from inventory whose name ... |
|
captainflint |
Homework |
2 |
6,666 |
Jan-18-2018, 07:43 PM |