You should totally make this game for mobile version,great work loved it
You should totally make this game for mobile version,great work loved it
@Equation Hello sorry for the late reply but thank you so much for your help in this equation, is this all python or are we adding some other coding language,
I really want to become good in python because I want to do something in data analysis and I think it uses either r or python.
I could really use you help just like this. Thank you
Thank you for your prompt response, Can you kindly tell me where exactly can we apply the 1st code i.e student_list = {[ id:...}] in the following code
student_list= [{"":[]}]
print ("***Welome***")
#ask if he or she is a student
already_student=("Are you a member:- ")
if already_student=="YES" or already_student=="yes" or already_student=="Yes" or already_student=="Y" or already_student=="y":
print ("Welcome", already_student)
else:
print ("Member not found")
member=input("Do you wish to become a member:- ")
if member=="YES" or member=="yes" or member=="Yes" or member=="Y" or member=="y":
name = input("Enter your First Name:- ")
last = input("Enter your Last Name:- ")
age=int(input("Enter your age here:- "))
print ("Welcome", name, "Your student ID is ", ID)
thank you again for your time
@Equation Thank you again for your help
it was very helpful, I ll work on another code and share it with you
cheers :>
Hello its me again , sorry if I bother you every now and then but will you kindly help me with this coding
I send you a signup code a week ago, I made a few improvements, but its still needs further improvement
the code is as follows
memberlist=[]
print ("*Welcome to mymailbox.com****")
while True:
alreadymember=input("Already a member?:")
if alreadymember=="Y" or alreadymember=="y" or alreadymember=="Yes" or alreadymember=="yes" or alreadymember=="YES":
member=input("Enter User Name:")
if member in memberlist:
print ("Welcome", (member))
else:
print((member),"not found")
if alreadymember=="N" or alreadymember=="n" or alreadymember=="No" or alreadymember=="NO":
signup=input("Would you like to signup?:")
if signup=="yes" or signup=="YES" or signup=="Yes" or signup=="Y" or signup=="y":
print("Kindly fill the following form")
First_name=input("Enter Your first name:")
print("First Name=:",(First_name))
Second_name=input("Enter Your last name:")
print("Second Name=:",(Second_name))
Age=int(input("Enter Your age:"))
print("Age=:",(Age))
Username=input("Enter your username:")
print("Username=:",(Username))
memberlist.append(Username)
print("Welcome to the Team",(First_name))
if signup=="no" or signup=="NO" or signup=="No" or signup=="N" or signup=="n":
print("Enjoy browsing mymailbox.com, hope you change your mind")
print(memberlist)
the link is mentioned below
https://repl.it/@SakuraKimiko/member-signup
You will notice that when you type No or no NO it wont ask the question would you like to signup, only on smaller n or no it would ask that,
not to mention when it asks you are you already a member and you say yes, even if you are not, it does respond member not found however I want it to ask would you like to sign up
rather it asks again already a member
how do I fix it
Thank You
Regards
Sakura
@Equation ..
https://repl.it/@SakuraKimiko/dictionaries
if this doesnt work I am copying the code once more
memberlist=[]
print ("**Welcome to mymailbox.com *")
alreadymember=input("Are you a member?:").lower()
while True:
if alreadymember=="Yes" or alreadymember=="YES" or alreadymember=="yes" or alreadymember=="y" or alreadymember=="Y":
print("Welcome, Please login")
elif alreadymember=="No" or alreadymember=="NO" or alreadymember=="no" or alreadymember=="n" or alreadymember=="N":
signup=input("Would you like to signup?:").lower().upper()
member=input("Enter your user name:").strip().title()
if member in memberlist:
print("Welcome", (member))
else:
print ("member not found")
signup=input("Would you like to signup?:").lower().upper()
if signup=="yes"or signup=="YES" or signup=="yes" or signup=="y" or signup=="Y":
print("Kindly fill out the following form")
First_name=input("Enter Your first name:")
Second_name=input("Enter Your last name:")
Age=int(input("Enter Your age:"))
Occupation=("What is your occupation:")
Username=input("Enter your username:")
memberlist.append(First_name)
print("Welcome to the Team",(First_name))
elif signup=="No"or signup=="NO" or signup=="no" or signup=="N" or signup=="n":
print("Enjoy browsing mymailbox.com, Hope you change your mind and join our team")
print(memberlist)
I had added the print(memberlist) at the end because I wanted to see whether it is accepting the name or not, when you run it again in the same process, you'll notice it will show the name e.g nancy but when you'll enter the name nancy again it 'll say member not found.
Secondly if we say we don't want to signup it should say
Enjoy browsing mymailbox.com, Hope you change your mind and join our team
rather it says enter user name
Thank you again for your time :>
@Equation Hello again I need your help with this code
memberlist=[]
print ("**Welcome to mymailbox.com *")
alreadymember=input("Are you a member?:").lower()
while True:
if alreadymember=="Yes" or alreadymember=="YES" or alreadymember=="yes" or alreadymember=="y" or alreadymember=="Y":
print("Welcome, Please login")
elif alreadymember=="No" or alreadymember=="NO" or alreadymember=="no" or alreadymember=="n" or alreadymember=="N":
signup=input("Would you like to signup?:").lower().upper()
member=input("Enter your user name:").strip().title()
if member in memberlist:
print("Welcome", (member))
else:
print ("member not found")
signup=input("Would you like to signup?:").lower().upper()
if signup=="yes"or signup=="YES" or signup=="yes" or signup=="y" or signup=="Y":
print("Kindly fill out the following form")
First_name=input("Enter Your first name:")
Second_name=input("Enter Your last name:")
Age=int(input("Enter Your age:"))
Occupation=("What is your occupation:")
Username=input("Enter your username:")
memberlist.append(First_name)
print("Welcome to the Team",(First_name))
elif signup=="No"or signup=="NO" or signup=="no" or signup=="N" or signup=="n":
print("Enjoy browsing mymailbox.com, Hope you change your mind and join our team")
print(memberlist)
there are a few problems with it they are as follows
when I say I don't want to signup it shows "enter your username" where as I want it to say "Enjoy browsing mymailbox.com, Hope you change your mind and join our team" (as I have mentioned at the end of the print)
It doesn't add the name in the list. I have given the command to print the name once added in the list, but when I enter the name again (in the same process) it says member not found. e.g. if i say i want to sign up and fill the form with the name nancy etc it shows the name nancy and it asks again enter your user name when I enter the name nancy again it says member not found.
I will appreciate your help, I have been wracking my brains on it for about a week now
Thank you in advance :)
@CalsonLee Thank you for your help, do you have any websites you can recommend, I am currently learning from udemy
Hello, I did not get a chance to play your game but I'll try it later. Could you help me with my code.
I am a complete beginner (a baby in programming or python world)
my code is as follows
import random
random.randint(20,100)
age=int(input("What is your age:"))
agegap=int(random.randint(20,100))
print (agegap)
while True:
if age>agegap:
print("You are older")
elif age==agegap:
print ("You are of the same age")
else:
print("You are younger")
after it prints you are younger, same age or older I want it to ask the question again. How would I do that? I 've tried adding while true: but loops the answer in an infinite loop. I want it to give the answer once and ask the question again.
Could you help me with it
thank you
Sakura