Practise problem 33 section1

i tried so many times but i cannot able to get the right code …plz tell me the right code

@mayanktiwari6957,
Can you please share the code that you were trying?