From 0edf71117dfdec0ba0a9f21a5d6765a36cb82eb7 Mon Sep 17 00:00:00 2001 From: MrSuperfluous <110557560+MrSuperfluous@users.noreply.github.com> Date: Wed, 11 Oct 2023 00:40:36 +0530 Subject: [PATCH] Update nth_ugly_number.py Minor bugs fixed --- dynamic_programming/nth_ugly_number.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/nth_ugly_number.py b/dynamic_programming/nth_ugly_number.py index bb876ea8f..6d62aba89 100644 --- a/dynamic_programming/nth_ugly_number.py +++ b/dynamic_programming/nth_ugly_number.py @@ -82,7 +82,7 @@ if __name__ == "__main__": print("\n********* END ************") break else: - ugly_number = nthUglyNumber(n) + ugly_number = nth_Ugly_Number(n) print(f"The {n}th Ugly Number is: {ugly_number}") print("Try another index to find a Ugly Number: ", end="") except (NameError, ValueError):