#!/usr/bin/python3
import os
import crypt
var=input("enter username")
pswd="hello"+var
if var.isalpha():
    
    code=crypt.crypt(pswd,"22")
    os.system("sudo useradd -m -p "+code+" "+var)
    print("user created")
else:
	print("Enter valid username")

28f4ceac7ed0eebac655120c834390d16c30eada
<mask token>

<mask token>
if var.isalpha():
    code = crypt.crypt(pswd, '22')
    os.system('sudo useradd -m -p ' + code + ' ' + var)
    print('user created')
else:
    print('Enter valid username')

<mask token>
var = input('enter username')
pswd = 'hello' + var
if var.isalpha():
    code = crypt.crypt(pswd, '22')
    os.system('sudo useradd -m -p ' + code + ' ' + var)
    print('user created')
else:
    print('Enter valid username')

import os
import crypt
var = input('enter username')
pswd = 'hello' + var
if var.isalpha():
    code = crypt.crypt(pswd, '22')
    os.system('sudo useradd -m -p ' + code + ' ' + var)
    print('user created')
else:
    print('Enter valid username')

#!/usr/bin/python3
import os
import crypt
var=input("enter username")
pswd="hello"+var
if var.isalpha():
    
    code=crypt.crypt(pswd,"22")
    os.system("sudo useradd -m -p "+code+" "+var)
    print("user created")
else:
	print("Enter valid username")
