We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c22e67 commit 4142baeCopy full SHA for 4142bae
2 files changed
Assignments/assignments3_rajarshi_roy.py
@@ -0,0 +1,11 @@
1
+hrs = raw_input("Enter Hours:")
2
+h = float(hrs)
3
+rate = raw_input("Enter PayRate:")
4
+r = float(rate)
5
+grosspay = h * r
6
+if h <= 40 :
7
+ print grosspay
8
+else:
9
+ grosspay = r * 40 + (r * 1.5 * (h - 40))
10
+
11
Assignments/classwork.py
@@ -0,0 +1,8 @@
+number = int(raw_input("enter a number: "))
+if number > 10:
+ print 'Greater than 10'
+elif number == 10:
+ print 'The number is 10'
+ print 'Less than 10'
+print "Your number is ",number
0 commit comments