For those who are running into problems: Just replace the "|" with "or"
@sundarinsyifa96334 ай бұрын
Thankyouu
@Microwaveoficial4 ай бұрын
@@sundarinsyifa9633 welcome 😁
@Microwaveoficial3 ай бұрын
@@sundarinsyifa9633 welcome
@LFT-f4n19 күн бұрын
tysm i was so confused
@Microwaveoficial19 күн бұрын
@@LFT-f4n you're welcome!
@itsaak8 ай бұрын
Thank you so much, you are single handedly teaching me python in a very user friendly and simple way.
@juanmayen2110 ай бұрын
Thanks a ton for making these videos Dave.
@burgeronus59639 ай бұрын
Love the length of these videos; i feel like many python tutorials are hours long which can be kind of daunting! keeping each video on a few topics makes it much easier to take on. thanks!
@user-hannaingrín8 ай бұрын
These vidoes are awesome, thanks for making them Dave!
@ashishranjan28645 ай бұрын
THANK YOU FOR MAKING MY LEARNING SO EASY WITH YOUR GREAT EXPLANATIONS DAVE 👍👍
@ClashOfMedias Жыл бұрын
Now my class start learning Python, these lessons help me a lot.
@DaveGrayTeachesCode Жыл бұрын
Glad to hear it!
@bensonibeabuchi Жыл бұрын
Hi Dave, thank you for these videos, I have watched your tutorials on HTML, CSS, Javascript, React (not-finished) and Next.js. You are the best. For improving the game code, can I re-write the code as: * if player == 1: player = "Rock" elif player == 2: player = "Paper" else: player = "Scissors" * instead of importing Enum? obviously you will do it for computer and then print("You chose " + player + ".") print("Python chose " + computer + ".")
@LeonelLopezBorbon Жыл бұрын
AMAZING DAVE!!
@DaveGrayTeachesCode Жыл бұрын
Thank you!
@ayushkathariya Жыл бұрын
print('Thanks Dave! ')
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@aleemazeez2633 ай бұрын
Print ('Real!')
@BBH_army1239 күн бұрын
print(‘a bit late’) print(‘thanks’)
@7doors847 Жыл бұрын
Great series Dave 🔥 Definitely good to take a JS every now and then. Let’s see how far you take us!
@DaveGrayTeachesCode Жыл бұрын
Thank you!
@7doors847 Жыл бұрын
I meant ‘take a break’ 😅 Thank you Dave! Keep the good stuff flowing 🤘
@javedsultan4830 Жыл бұрын
@@DaveGrayTeachesCode Hi Dave your tutorial are the best and simple to follow..thanks
@muzhaffarhaydar79283 ай бұрын
thanks dave
@Blonar2573 ай бұрын
Awesome tutorial! Thank you so much. 1 question: is RPS(player).name not much simplier that replace, or am i missing something?
@anirudh2660 Жыл бұрын
Nice video. Please upload video regularly plzzz dev. And thanks for your amazing content as always.
@DaveGrayTeachesCode Жыл бұрын
Thank you! I upload every Tues & Friday. Lately, Python on Tuesdays.
@nishantsingh492321 күн бұрын
Hey Dave, thanks for making these videos. I want to know if u want to continue the RPS game (that the program should not end and again ask for input value) what command can be used for this.
@DaveGrayTeachesCode21 күн бұрын
Keep going in this series. We will do that and more!
@alexanderkomanov4151 Жыл бұрын
As perfect as usual!
@DaveGrayTeachesCode Жыл бұрын
Thank you!
@anthonyythomas11 ай бұрын
Excellent video! I did have trouble triggering the 'exit' if statement for invalid player entries though. It seems the pipe no longer works as an 'or' operator in Python 3.12.0. I got the statement to trigger by simply using 'or' instead of the pipe.
@DaveGrayTeachesCode11 ай бұрын
A correction should have shown as a pop-up on the screen? Noted in the description. You are correct, btw! 💯
@antwierasmus Жыл бұрын
Hey Dave, thanks you for the contents and education, I have been learning a lot from all your videos. Please can you also teach us something about using react animation packages like react spring? I have been trying to read the docs and wrap my head around it, but everything seems complicated.
@DaveGrayTeachesCode Жыл бұрын
You're welcome and thanks for the request!
@VictorChukwuemeka-o3x7 ай бұрын
Progress over perfection
@mortezafarhangpanah256 Жыл бұрын
Thanks
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@inteliconn995 Жыл бұрын
Thanks!
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@aswanivmanoj81159 ай бұрын
Thank u
@klenderXD6 ай бұрын
So I am trying to add that only int can be used. So if I would type a letter or another character besides a number it would print to try again with a number. I have been trying for a while now but can't figure it out to add it in this code. I could use some help.
@michaelscofield5343 Жыл бұрын
you're the best 😍
@abzmantawil Жыл бұрын
waiting for the best mentor DAVE GRAY to create a full stack project with react typescript as front end and python as backend and mongo db as database 🤲 🙏🙏🙏🙏
@DaveGrayTeachesCode Жыл бұрын
Thank you for the request! That won't be part of this beginners series, but it could happen sometime afterwards. 🚀
@ColombianCatastrophe3 ай бұрын
When I enter any 3 numbers in the terminal(1 for rock, 2 for scissors, 3 for paper) nothing happens. I am not sure what the issue is. Can anyone help?
@lionex2428 күн бұрын
did you ever figure out wat went wrong cus im on the same problem .
@VictorChukwuemeka-o3x7 ай бұрын
Nice video Dave but I am have trouble anytime I type computer it keeps showing that computer isn't defined
@VictorChukwuemeka-o3x7 ай бұрын
So I changed it to compter rather computer
@PorterMesservey2 ай бұрын
ANYONE WATCHING THIS IN THE FUTURE, IF YOUR IF STATEMENT ISNT WORKING AS EXPECTED, REPLACE THE "|" CHARACTER WITH THE WORD "or"
@japethspeaketh7034Ай бұрын
The sys.exit command isn't working. I entered a value other than 1, 2 and 3 and the programme still executed. It didn't exit the programme.
@johnaweiss10 ай бұрын
Personally, i would prefer arbitrary human-friendly labels, with embedded spaces if needed. I wouldn't display an enum or constant name to the user.
@azizbeksadullayev-pk6ud Жыл бұрын
Alloh rozi bolsin
@appendix-q6k8 ай бұрын
When I enter 2 for my choice and press enter it only just takes me back to another prompt but it doesn’t tell me what I selected vs what the computer selected. What is the issue? 10:48
@Lena-pz4cw8 ай бұрын
I had the same, and for me was an indentation issue in your code. The lines following the if player < 1 or player > 3: condition should be properly indented to be inside the if block
@johnaweiss9 ай бұрын
12:19 i like python a lot. But i don't like the keyword `elif`. Why did they call it that? It's inconsistent. If you're going to say elif for elseif, then you should say el for else.