Skip to content

Eval shouldn’t strip non-blank lines #699

Closed

Description

@SurajBhari

As talked in https://discordapp.com/channels/267624335836053506/635950537262759947/639484028012986369

Bot strips out /n lines
example can be

def reformat_(a):
    len_a = 8 - len(a)
    a = " " * int(len_a / 2) + a + " " * int(len_a / 2)
    return a
print(reformat_("Hii"))

Why change it?

Changing it can lead to a better precise output. also bot already limit the output to 10ish lines . so no harm in adding whitespaces.

Activity

  1. SurajBhari commented on Dec 16, 2019

    @SurajBhari
    Author

    expected output - Hii
    output - Hii
    Screenshot_20191216_155309

  2. changed the title [-]Issue with how stripping of new line works[/-] [+]Eval shouldn’t strip non-blank lines[/+] on Dec 16, 2019
  3. Akarys42 commented on Dec 25, 2019

    @Akarys42
    Contributor

    Hi, can I work on this?

  4. SurajBhari commented on Dec 25, 2019

    @SurajBhari
    Author

    sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: frontendRelated to output and formattingp: 3 - lowLow Prioritys: WIPWork In Progress

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions