ChatCrawlersearch across public Telegram Open the app
P

Python

snapshot for May 2026
May 2026 ×
24 May 2026
25 May 2026
.
I want to install pygame
26 May 2026
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}")
U
Kindly help to solve it
Uzma BanuKindly help to solve it
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}")
Y
Uzma BanuKindly help to solve it
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).
M
Guys anyone Like to create Tools or Beginner i want help
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog