You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python module monitoring high-level file system events (Copy, Move, Create, Delete, Modify). Lazydog tries to aggregate low-level events in order to emit a minimum number of high-level event. Extension of watchdog module.
Make it assign input into the 'name' variable. The challenge was to put a prompt in the input command to ask the user for their name. In addition, ask the user some questions
In this program we renamed the function so that it has a sensible name. Then it got the user to input a country. Store it in a variable. Call the function again with the variable as the parameter.
The user is asked at the end if they guessed correctly. Then if they did, display a “Well done” message. If they didn’t, display a “Never mind” message. As well as checking whether the answer is too high or too low, add a line that checks whether the guess is equal to the answer and if it isn’t, displays a “Bad luck” message.
We had to modify the starter code. I had to add a line of code asking the user to enter a third number. I also had to edit the IF/ELIF/ELSE statements to confirm whether the third number is bigger/smaller/the same as the first number and whether it is bigger/smaller/the same as the second number. Also if all three numbers are the same.
In the modified tasks, I was given some starter code. Use the instructions below to make changes to the code. I commented on my changes to explain what you have done.