Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Task
- You are given a text of lines. The text contains && and || symbols.
- Your task is to modify :
- && → and
- || → or
- Both && and || should have space " " on both sides.
- Input Format
- First line contains integer, .
- Next lines contains the text.
- Constraints
- Neither && nor || occur in or of each line.
- Output Format
- Output the modified text.
Add Comment
Please, Sign In to add comment