7xGit / 7xGit/7xGit_Task4

Whitespace in Filenames Causes Issues

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Description:
User inputs (e.g., file or folder names) may have leading or trailing spaces, causing unexpected behavior like file not found or duplicate creation.

Expected:
Use .strip() for every user input() to clean up whitespace.

Tasks:

Apply .strip() to all inputs.

Test folder and file creation using spaced inputs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.