Code for registration system python for intermediate | Sololearn: Learn to code for FREE!

+12

Code for registration system python for intermediate

Please help for this code

3/11/2021 5:33:33 PM

Shubham Kadam

10 Answers

New Answer

+10

Hi this is the code.... Follows: try: name = input() #your code goes here count=0 for i in name: count+=1 if count > 3: print("Account Created") else: raise Exception except: print("Invalid Name")

+5

+3

This works too: try: name = input() #your code goes here if len(name) < 4: raise ValueError except: print("Invalid Name") else: print("Account Created")

+1

Hi, is it possible to post either a link to the problem, or just your current solution to the problem and its guidelines, as I currently do not have access to this problem. I would love to help though!

+1

You have to use library My English not good but i think you want to create a messager code for send and get message

+1

try: name = input() if len(name) > 3: print("Account Created") else: raise Exception except : print("Invalid Name")

0

try: name = input() #your code goes here c = len(name) if c < 4: raise Exception except: print ("Invalid Name") else: print("Account Created")

0

This is pretty simple. You guys can try this: try: name = input() #Takes a string as a input if len(name)>=4: #To find out the length of the string print('Account Created') #Output If length of the string is more than or equal to four. else: raise ValueError #If the length of the string is less than 4, raise a Value error except: print("Invalid Name") #Ouptut when a Value error is raise

-1

Hi this is the code.... Follows: try: name = input(bedo) #your code goes here count=0 for i in name: count+=1 if count > 3: print("Account Created") else: raise Exception except: print("bedo") please html js code hack please

-1

This is a bit shorter using the len function that worked for me try: name = input() #your code goes here if len(name) > 3: print("Account Created") else: raise Exception except: print("Invalid Name")