Computers and Technology, 22.01.2021 01:00, skyvargasov9cad
7.3.4: Find the Error
In this exercise, you will try to identify which of two lines will cause an error. The two lines look like this:
my_string[0] = "H"
my_string = "H" + my_string[1:]
Each line is an attempt to change the string from "hello!" to "Hello!". One of them does this in an acceptable way, and the other one causes an error.
Before you run the program, see if you can predict which of the two lines is incorrect. Test your guess by commenting out what you think is the incorrect line and running the program!
Answers: 2
Computers and Technology, 21.06.2019 22:40, hePandaKing3689
State the parts of a variable declaration?
Answers: 2
Computers and Technology, 22.06.2019 17:00, hollodom9654
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen tool
Answers: 1
7.3.4: Find the Error
In this exercise, you will try to identify which of two lines will cause an e...
Mathematics, 04.07.2021 20:30
Mathematics, 04.07.2021 20:30
Mathematics, 04.07.2021 20:30
Mathematics, 04.07.2021 20:30
Mathematics, 04.07.2021 20:30