Python Math Quiz

  Рет қаралды 10,434

Dave Briccetti

Dave Briccetti

4 жыл бұрын

I create a Python program that gives multiplication problems and times how long each problem takes.
Code: github.com/dcbriccetti/python...

Пікірлер: 20
@DinoCrazy15
@DinoCrazy15 Жыл бұрын
5:45 correct in 7 and a ridiculous number of decimal places
@joshuabarker6791
@joshuabarker6791 3 жыл бұрын
thanks for the video i was wondering how i would go about making a final score of how many questions i had answered
@DaveBriccetti
@DaveBriccetti 3 жыл бұрын
Hi! Here are changes to do that. github.com/dcbriccetti/python-lessons/commit/2a159ad5e1186c749b96c5d0ede45b7142c6bbb5
@joshuabarker6791
@joshuabarker6791 3 жыл бұрын
@@DaveBriccetti thanks 👍🏽
@mad_rogue_gx07
@mad_rogue_gx07 11 ай бұрын
so i want to extract it by ask random question from summation, subtract, multiply, divided and game over now if you do wrong then what should i code it?
@DaveBriccetti
@DaveBriccetti 11 ай бұрын
Good ideas. Hard to answer. Perhaps I’ll code that one day. Anybody else have an example?
@DinoCrazy15
@DinoCrazy15 Жыл бұрын
what if you wanted to add a score for every time you got one correct?
@DaveBriccetti
@DaveBriccetti Жыл бұрын
Hi. I see that feature in this code: github.com/dcbriccetti/python-lessons/blob/master/simple/mathquiz.py
@Icecreambagel
@Icecreambagel 2 жыл бұрын
how would you do it if it was not random
@DaveBriccetti
@DaveBriccetti 2 жыл бұрын
Hi! I suppose you could pull problems from a file or database or something. Am I understanding your question?
@Icecreambagel
@Icecreambagel 2 жыл бұрын
@@DaveBriccetti its ok now i hope you have an amazing day sir!
@vicentebellogiacomassi9016
@vicentebellogiacomassi9016 4 ай бұрын
whats the f for in the input parenthesis
@DaveBriccetti
@DaveBriccetti 4 ай бұрын
f strings are very helpful. I encourage you to look it up.
@irenic6913
@irenic6913 Жыл бұрын
thank you .. how do I repeat the question I answered wrong ?
@DaveBriccetti
@DaveBriccetti Жыл бұрын
Hi. You're welcome. Maybe use a variable to indicate whether the answer was correct, and an if statement around the lines that recompute num1 and num2. Do you use ChatGPT? I'll bet it could make the change for you.
@irenic6913
@irenic6913 Жыл бұрын
@@DaveBriccetti No I don't use it but I do understand what I should do thank you so much for the quick response
@DaveBriccetti
@DaveBriccetti Жыл бұрын
My pleasure
@MonDellBit
@MonDellBit 7 ай бұрын
how can i make it into pygame?
@DaveBriccetti
@DaveBriccetti 7 ай бұрын
Hi. What do you think it might look like in PyGame?
@MonDellBit
@MonDellBit 7 ай бұрын
@@DaveBriccetti my idea is: idea: +Main menu: have the title of the game on the top, then there a menu that you can choose level, there 3 levels, each level is different difficulty for grade 1 to 3(make it each box is each grade), you choose then enter the main gameplay + the gameplay: You are given a calculation to solve(appear on the top of the screen), there are 4 answers in 4 box with the different colour and u just have 60 second to solve as much as you can (show the time at the conner) and u need to click the correct answer, if u click the correct answers, next calculation will appear and your point +1(show point at the conner under the time), or else, the game will stop and clear all thing on the screen and appear GAMEOVER text with voice that i can add from local file and point you have (It appear for 5 seconds then switch into the main menu). + The calculation: from 2 to 4 number (number
5 Good Python Habits
17:35
Indently
Рет қаралды 367 М.
Create a QUIZ GAME with Python 💯
9:29
Bro Code
Рет қаралды 182 М.
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 20 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 40 МЛН
PYTHON BASICS (What I Would Learn First)
24:50
Internet Made Coder
Рет қаралды 132 М.
A Simple Python Quiz Program
12:29
Dave Briccetti
Рет қаралды 30 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
Pygame in 90 Minutes - For Beginners
1:35:22
Tech With Tim
Рет қаралды 1 МЛН
Writing a Simple Maths Quiz in Python
12:41
Programming Logic
Рет қаралды 3,5 М.
Math Quiz - Simple Python Projects for Beginners
29:09
Anuradha Agarwal
Рет қаралды 2,1 М.
HARD Science Quiz - 20 questions - multiple choice test
11:37
Quiz Nook
Рет қаралды 884 М.
Python Challenge: Math Game
13:00
Master Code Online
Рет қаралды 23 М.
Unlocking your CPU cores in Python (multiprocessing)
12:16
mCoding
Рет қаралды 292 М.
5 Mini Python Projects - For Beginners
1:41:08
Tech With Tim
Рет қаралды 2,8 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 17 МЛН