Nov-05-2022, 12:50 AM
Hi,
I'm using the 2022 Complete Python Bootcamp From Zero to Hero in Python course.
It features a series of test excercises..but I am getting errors even though the answer appears correct?
Udemy Question:
Use string slicing to grab the word 'ink' from inside 'tinker'
My attempt:
print('tinker'[1:4])
Udemy tells me:
Oops your solution is incorrect
'ink' != None " Sorry. that was incorrect
Your output
ink
um..I am confused as to why I am wrong! Thanks!
I'm using the 2022 Complete Python Bootcamp From Zero to Hero in Python course.
It features a series of test excercises..but I am getting errors even though the answer appears correct?
Udemy Question:
Use string slicing to grab the word 'ink' from inside 'tinker'
My attempt:
print('tinker'[1:4])
Udemy tells me:
Oops your solution is incorrect
'ink' != None " Sorry. that was incorrect
Your output
ink
um..I am confused as to why I am wrong! Thanks!