Repository navigation
Expand file tree
/
Copy path1st.py
More file actions
99 lines (90 loc) · 2.11 KB
/
Copy path1st.py
File metadata and controls
99 lines (90 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# print("Manush Patel")
# print("c:\user\newfolder\bin\pythonfile\25.py")
'''print("c:",end="\\")
print("user",end="\\")
print("newfolder",end="\\")
print("bin",end="\\")
print("pyhtonfile",end="\\")
print("25.py")'''
'''a=int(input("enter the number:"))
b=int(input("enter the number:"))
print(a,end="")
print(b)'''
'''a=int(input("enter the num:"))
b=int(input("enter the num:"))
c=int(input("enter the num:"))
if a>b and a>c:
print("a is big")
elif b>a and b>c:
print("b is big")
elif c>a and c>b:
print("c is big")
else:
print("same")
'''
'''a=input("enter a character:")
if a=='a' or a=='e' or a=='i' or a=='o' or a=='u':
print(f"{a} is vowel")
elif (a>'a' and a<='z'):
print(f"{a} is consonant")
elif (a>='0' and a<='9'):
print("digit")
else:
print("specical character")
'''
'''
ch=input("enter a character:")
if (ch>='A' and ch<='Z'):
ch=chr(ord(ch)+32)
print(ch)
else:
ch=chr(ord(ch)-32)
print(ch)
'''
'''a=int(input("enter your salary:"))
if (a<10000):
a=a+a*(1/5)+a*(80/100)
print(a)
elif(a<20000):
a=a+a*(1/4)+a*(85/100)
print(a)
elif(a>20000):
a=a+a*(30/100)+a*(90/100)
print(a)
else:
print("invalid salary")
'''
'''a=int(input("Enter electricity unit charges:"))
if(a>=0 and a<=50):
bill=(a*0.5)*(120/100)
print("Total Bill:",bill)
elif(a>=51 and a<=150):
bill=(50*0.5 + (a-50)*0.75)*(120/100)
print("Total Bill:",bill)
elif(a>=151 and a<=250):
bill=(50*0.5 + 100*0.75 + (a-150)*1.2)*(120/100)
print("Total Bill:",bill)
elif(a>250):
bill=(50*0.5 + 100*0.75 + 100*1.2 + (a-250)*1.5)*(120/100)
print("Total Bill:",bill)
'''
'''a=int(input("Enter physics marks out of 100 :"))
b=int(input("Enter chemistry marks out of 100 :"))
c=int(input("Enter maths marks out of 100 :"))
per=(a+b+c)/3
print("Percentage:",per)
if(per>90 and per<=100):
print("Grade:A+")
elif(per>80 and per<=90):
print("Grade:A")
elif(per>70 and per<=80):
print("Grade:B+")
elif(per>60 and per<=70):
print("Grade:B")
elif(per>50 and per<=60):
print("Grade:C+")
elif(per>40 and per<=50):
print("Grade:C")
else:
print("Fail")
'''