SubhanUllah Posted October 3, 2022 Report Posted October 3, 2022 n = input("Type number: ") while not n.isdigit(): n = input("Ints only!: ") if n.isdigit(): print(int(n)**0.5) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.