135201
You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython
It is, the name of the group is AI.
Written by GenericLLM.
This group is not about how to use AI. Please remove this message.
Читать полностью…
questions = [
["which language was used to create fb?", "python", "French", "JavaScript", "php", 4]
]
levels = [1000]
money = 0
for i in range(len(questions)):
question = questions[i]
print(f"\nQuestion for Rs. {levels[i]}")
print(f"1. {question[1]} 2. {question[2]}")
print(f"3. {question[3]} 4. {question[4]}")
reply = int(input("Enter your answer (1-4): "))
if reply == question[-1]:
print(f"Correct answer! You have won Rs. {levels[i]}")
money = levels[i]
else:
print("Wrong answer!")
break
print(f"Your take home money is {money}")
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
Читать полностью…
questions = ["which language was used to created fb?", "python", "French", "Java script", "php", "None", 4]
["which language was used to created fb?", "python", "French", "Java script", "php", "None", 4]
["which language was used to created fb?", "python", "French", "Java script", "php", "None", 4]
["which language was used to created fb?", "python", "French", "Java script", "php", "None", 4]
levels=[1000, 2000, 3000, 5000, 10000, 20000, 40000, 80000, 160000, 320000]
money = 0
for i in range(0, len(question)):
question=questions[i]
print(f"Question for Rs. {levels[i]}")
print(f"a. {question[1]} b.{question[2]}")
print(f"c. {question[3]} b.{question[4]}")
reply=int(input("Enter your answer (1-4)"))
if(reply==question[-1]):
print(f"correct answer, you have won Rs.{levels[i]}")
if(i == 4):
money = 10000
elif(i ==9):
money = 320000
elif(i ==14):
money = 100000000
else:
print("Wrong answer!")
break
print("your take home money is {money}")
Impossible to help without details.
Read this please:
http://www.catb.org/~esr/faqs/smart-questions.html
Impossible to help without details.
Read this please:
http://www.catb.org/~esr/faqs/smart-questions.html
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
i suggest u to learn Rust or C++ even if are not similar to Python
Читать полностью…
And suggest me some games which are purely made using python!!
Читать полностью…
Hello I am uzma from bangalore, India, I am a BCA graduate but I have not worked in IT. Now I want to learn Python and become software developer, will you plz guide me that from where to start learning.
Читать полностью…
It had like 6 issues: question and questions were mixed up, the loop used the wrong variable, the question list structure was off, the wrong answer logic was in the wrong place, the print string was missing an f, and the option labels were messed up (b instead of d).
Читать полностью…
You want to learn another language to learn python faster?
Читать полностью…
Someone told me they have a website that offers free hosting with 12MB of RAM. Does anyone else have this website?
Читать полностью…
Which language can I go after python so that I can learn it faster?
🙂