i have an other question on interaction between time and user:
i want my code to give a message to user if he tak...
Asked 3 years ago
can I insert a timer which expired at the time the user has to answer the question automatically take the input...
Yes, but I would like to repeat this code up to three times if the number entered is incorrect
Answered 3 years ago
a = 4;
b = input ('2+2=? ')
if b == a
b = input ('retry ')
if b == a
As the example shows, i would like that the genre of the variable will be recognized and declared (with print ...
I want to know if there is a function that allows me, through a random variable, to run my code with all the el...
the code below to ask user to guess a word 'Sol'. The user has three attempts. also has the option to withdraw typi...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries