+ 2
Hey! There is any exercise so that I can improve my coading skill.
10 Réponses
+ 6
Challenges are made to exercise
+ 2
Hi Pranjal,
As Sachin stated, challenges are made to exercise. Furthermore, practicing will allow you to easily advance your ability to code programs using the Python3 language. Luckily, I have few challenges to offer you- send me the source code of each challenge for reviewal.
Here's the list:
Beginner:
1) Login prompt: Contrive a script that will ask the user to enter a username and a password. If the user provides incorrect password then the program will print that the password is incorrect. However, if the password submitted is correct then the program will print that the password is correct.
---Intermediate---
*Bonus 1: The program will count attempts that were made by the user to enter the correct password(incorrect password entered.)
*Bonus 2: If the password entered is correct then the program will print the password and an exclamation mark after it and then repeat the password three times.
Good luck,
AlexLSD.
+ 2
Hey Alex check this code
Plese send me the proper code if my code is not proper and also send next questions
+ 2
Hi Pranjal, your code is good. However, you misunderstood my bonus offer.
You need to define a function that counts how many times the user entered the wrong password(attempts.) Also, you have to manipulate the variable and add the symbol "!" to the string variable.
+ 1
Will do, Pranjal :)
+ 1
Alex, If there is proper code of your problem plese send me and post next problem also.
+ 1
Here you go!
https://code.sololearn.com/cxMlyOoL6igB/#py
0
Hi Alex, Show this code hope it is right
https://code.sololearn.com/ckXvS618oBpl/?ref=app
0
I will send you an example s.code as soon as I come home.