result=""
ip=input()
while len(ip)>0:
try:
float(ip)
except ValueError:
if len(ip)%2==0:
result+=ip+'-'
else:
result+=ip+':'
ip=input()
print(result[:-1])
programming language in python Solicit string from the keyboard one after another till you get a...
could you please help me with this problem, also I need a little text so I can understand how you solved the problem? import java.io.File; import java.util.Scanner; /** * This program lists the files in a directory specified by * the user. The user is asked to type in a directory name. * If the name entered by the user is not a directory, a * message is printed and the program ends. */ public class DirectoryList { public static...