learningpython/password.py

10 lines
209 B
Python
Executable file

#! /usr/bin/env python3
name = 'mary'
password = 'swordfish'
if name == 'mary':
print('hello mary')
if password == 'swordfish':
print('acess granted')
else:
print('Wrong Password')