Skip to content

Instantly share code, notes, and snippets.

# Auto detect text files and perform LF normalization
* text=auto
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.7 (eg)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
# count =0
# while count<5 :
# print("我爱你")
# count+=1
# i=1
# s=0
# while i<=10:
# s+=i
# i+=1
# count =0
# while count<5 :
# print("我爱你")
# count+=1
# i=1
# s=0
# while i<=10:
# s+=i
# i+=1
database =[
['gjd','1234'],
['gd','234'],
['d', '34'],
]
username=input('User Name: ')
pin=input('PIN code: ')
if[username,pin] in database: print('Access granted')
@GuanJD
GuanJD / eg1.py
Created October 11, 2018 12:38
happy
# count =0
# while count<5 :
# print("我爱你")
# count+=1
# i=1
# s=0
# while i<=10:
# s+=i
# i+=1