Discuss / Python / 再简单的代码都要亲手打一遍

再简单的代码都要亲手打一遍

Topic source

翁岚敏

#1 Created at ... [Delete] [Delete and Lock User]

-- codng:utf-8 --

n1 =255 n2 =1000 print(hex(n1)) print(hex(n2))

call_func.py

!/usr/bin/env python3

-- coding:utf-8 --

x = abs(100) y = abs(-20) print(x,y) print('max(1,2,3) =', max(1,2,3)) print('min(1,2,3) =', min(1,2,3)) print('sum([1,2,3]) =', sum([1,2,3]))


  • 1

Reply