No video
Келесі
- 12:17
- 44 М.
- 00:15
- 10 МЛН
- 7 күн бұрын
- 00:20
- 25 МЛН
- 10 күн бұрын
- 00:15
- 50 МЛН
- 12 күн бұрын
- 00:47
- 18 МЛН
- 14 күн бұрын
- 16:05
- 20 М.
- 1:03:21
- 3,2 МЛН
- 5:06
- 282 М.
- 13:46
- 15 М.
- 15:14
- 436 М.
- 10:22
- 1,6 МЛН
- 13:32
- 17 М.
- 12:18
- 489 М.
- 1:00:06
- 18 МЛН
- 00:15
- 10 МЛН
- 7 күн бұрын
Пікірлер: 25
Thanks for the tutorial, really needed it for computer assignment
This was very helpful. Thanks.
you have just earned a new sub :)
Wow three years ago, and am just learning it now..... thanks for the video, it was helpful, straight to the point..... please I need help getting a remote internship with...even though am not been paid huge amount....
thanks for this , you help me bro
If you enter first 2 attempts wrong code but in the 3 rd attempt if I enter correct password it says you have been denied access
@homeresquivel8960
3 жыл бұрын
How do you fix this?
@TamLe-yh3eg
3 жыл бұрын
print( "Hi man, you have 3 attempts ") password="123456" for i in range(3,0,-1): attempt=input("password?: ") if attempt == password: print("WELCOME") break if attempt != password: i = i-1 print("INCORRECT, you have", i ,"attempts left") continue if i == 0: print("You've ran out of attempts") Try this one i think this is better
@sairajmarshetty7152
2 жыл бұрын
@@TamLe-yh3eg if i want to add username ??how can i do it
@TamLe-yh3eg
2 жыл бұрын
assign name = input("What is ur username?: ") then the print line will be print('Hi', name, 'you have 3 attempts') so when you input any username the command will send a greeting
after the second "else:" i got error. Can somebody tell me why and how to fix it?
If there are two block of code for example password which you just showed and second are some steps if I do run all and give 4incorrect password in last attempt it will give you acess denied but below code will work am I right
This is a bit off topic but how does the date on the calendar say oct 2 when this video was uploaded oct 1?
@GeekTutorials1
3 жыл бұрын
Well spotted ;)
This tutorial is really good but has 1 problem - If you enter the right answer it will break and the same thing at denied 3 attempts, how do I make it lock?
@henrydanjayag6703
Жыл бұрын
Try on line 10: change if i == 1: to, if i == 4:
it say access denied because the word break doesnt work
it only gives you two attempts, how do you fix that?
@GeekTutorials1
4 жыл бұрын
If you wish to change the number of attempts, change the numbers in the brackets at the for loop line of code. Maybe try changing the 3 to a 4, which would read for i in range(4, 0, -1)
@europeguy78
4 жыл бұрын
print( " Hi man , you have 3 attempts ") password = "sun" for i in range(0,3): enter_password = input("Enter the password : ") j=2 if enter_password == password: print("Password has been accepted") break elif i print("Incorrect password try again, attempt number ",j+i) else: print("fuck off, you have been denied acces :-)") continue print(" have a nice day")
wow nice tutorial but when i type the wrong password 3 times it dosent do anything it just makes the user see the other codes input so simple question is how do i make it so that when you type the password 3 wrong times it should not show what the next thing is
@GeekTutorials1
3 жыл бұрын
You must have missed something in the code - my app does what you are saying, doesn't it?
@satorugojo9529
3 жыл бұрын
@@GeekTutorials1 it does everything thing perfectly but if the user gets the password wrong it still shows them the thing
man can i copy pasta it
@GeekTutorials1
3 жыл бұрын
Yes