We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f17b3bd commit 623c029Copy full SHA for 623c029
src/main.py
@@ -60,7 +60,7 @@ def main():
60
# Size Input: Set `arr_size` to a user-defined value. #
61
size_input: str = console.input("[bold][magenta]size~int[/magenta][yellow]:$[/yellow][/bold] ")
62
if size_input.isdigit():
63
- if size_input >= 1:
+ if int(size_input) >= 1:
64
arr_size = int(size_input)
65
else:
66
console.print("[bold][red]ERROR:[/red] Specified size input is too small, using default array size.[/bold]")
0 commit comments