Hi, I want to do input a number, if it is not a number generates an error message box.
I write a code in python,
while True:
try:
a=int(input(“Enter a number:”))
break
except ValueError:
print (“\n This is not a number. Try again”)
print ()
But I want code process in UiPath,
Hey
Check this example
Main.xaml (15.2 KB)
Regards
Anil_G
(Anil Gorthi)
4
@447_J_U_S_SANDEEP
Ideally you dont need a python code … IsNumeric(Variable) will actually give true for numbers and false for non number
Hope this helps
cheers
Thank you.
can you write in while or dowhile condition?
Hey
check that example in a while condition
Main.xaml (13.0 KB)
Regards
1 Like
Dear
Please Check This example
Main.xaml (12.1 KB)
1 Like
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.