Posts

Showing posts from June, 2022

Quiziz python code

name = input("Enter name: ") age = input("Enter age: ") gender = input("Enter gender: ") phone_number = input("Enter phone number: ") print("Hello",name) print("Welcome to my quiz") playing = input("Do you want to play? ") if playing != "Yes":     quit() print("Ok let play") print("Answer all the question start with a capital letter") answer = input("Are you gay? ") if answer == "Yes":     print('Why') else:     print("Great") print("Next question") answer = input("1Kg of rice Rp55,000. 5 kilos of rice how many thousand? ") if answer == "Rp385,000":     print('Correct') else:     print("Bruh. The answer is Rp385,000") print("Next question") answer = input("The number that has a value of hundreds in the number 182 is? ") if answer == "1":     print('Correct') else:  ...