subject

Can you identify one syntax error and one logic error in these lines? How do you think you could avoid making logic errors like the one in this code? You are creating a program in which the user will input his or her age. The program will calculate the year that the user was born and will then tell the user which decade he or she was born in. Here is part of the code:if year > 1989 and year < 2000 print("You were born in the 1980s")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the algorithm for building a binary tree program
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
Can you identify one syntax error and one logic error in these lines? How do you think you could avo...
Questions
question
English, 07.11.2020 03:50
question
Mathematics, 07.11.2020 03:50
question
Mathematics, 07.11.2020 03:50
question
Mathematics, 07.11.2020 03:50
Questions on the website: 13722363