Article Outline
Python example 'python-example-48'
python-example-48
Python example: python-example-48
#!/usr/bin/python
# -*- coding: UTF-8 -*-
if __name__ == '__main__':
i = 10
j = 20
if i > j:
print('%d 大于 %d' % (i,j))
elif i == j:
print('%d 等于 %d' % (i,j))
elif i < j:
print('%d 小于 %d' % (i,j))
else:
print('未知')
Useful links
- Learn Python: https://pythonbasics.org/
- More Python: https://pythonprogramminglanguage.com