0

How to See Solution For Practice Problems

I have solutions that are close but make minor errors with formatting that I don't know how to fix, but I want to see the correct way to do the problems. Is there a way to see the solutions to figure out why my solution are outputting differently formatted solutions?

27th Jul 2021, 7:31 PM
James Tayloe
2 odpowiedzi
+ 5
James Tayloe , it would be helpful if we could see your code. thanks!
27th Jul 2021, 7:45 PM
Lothar
Lothar - avatar
0
hello there what's the solution of the 27.7 practise exercise of the python beginner course? ------------------------------------------------ Prob: Write a program that takes an input string and outputs the 3rd character of the string. this does work only for case 1 and not case 2: a = str("hello") print(a[2]) Viceversa then it works for case 2 and not 1. AND PUTTING THEM TOGETHER RESULTS IN AN ERROR. ------------------------------------------------ Any ideas? thank you very much indeed.
4th Jun 2022, 9:50 AM
Jonathan Trapella