We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0480f6f commit 890d020Copy full SHA for 890d020
test_if.py
@@ -0,0 +1,10 @@
1
+#!/usr/bin/env python
2
+# -*- coding: utf-8 -*-
3
+age = raw_input('please input age')
4
+
5
+if age > 18:
6
+ print 'this is a adult man'
7
+ print 'can do somethings'
8
+else:
9
+ print 'this is a child'
10
+ print 'can not do the works'
0 commit comments