You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Print the required pattern, such that for all numbers in the range[1, N], including N, if the number is odd, print a single~, else print N * without space, on a new line
# For example, consider the value stored inN = 5. Therefore, the required output is