Hey there,
so i'm trying to answer this question but i'm hitting a snag.
i'm not familiar with the environment so it's very difficult to understand the syntax.
I would like someone to help me look through and assist with the syntax.
Also how to pass the input to get desired output

Help.PNG

Recommended Answers

All 2 Replies

That's fuzzy as a picture. Try again but post as code.

commented: import fileinput import sys for line in fileinput.input(): sys.stdout.write(line) +0

If you ask a specific question I'd be happy to offer a specific answer. In the future, please post code as text rather than as a blurry screencap.

commented: I was hoping the picture will give a better insight into what i wanted. the problem is mostly with the environment +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.