-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpro_exp.py
More file actions
79 lines (66 loc) · 2.13 KB
/
pro_exp.py
File metadata and controls
79 lines (66 loc) · 2.13 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
# conditional exprestion:
# age = int(input("enter the age :"))
# if (age>18):
# print("good for u ")
# print("u r above the age of conscent :^)")
# elif age == 0:
# print("ur not born yet")
# else:
# print("u r not eligible for conscent")
# greatest no. :
# a1 = int(input("enter the no. 1 : "))
# a2 = int(input("enter the no. 2 : "))
# a3 = int(input("enter the no. 3 : "))
# a4 = int(input("enter the no. 4 : "))
# if (a1>a2 and a1>a3 and a1>a4):
# print("A1 has the highest no.",a1)
# elif (a2>a1 and a2>a3 and a2>a4):
# print("the gratest no. is A2",a2)
# elif (a3>a1 and a3>a2 and a3>a4):
# print("the gratest no. is A3",a3)
# elif (a4>a1 and a4>a2 and a4>a3):
# print("the gratest no. is A4",a4)
# else:
# print("NOTHING IS FOUND!!")
# marks1 = int(input("enter the marks1 = "))
# marks2 = int(input("enter the marks2 = "))
# marks3 = int(input("enter the marks3 = "))
# total_percentage = (marks1+marks2+marks3)/300*100
# if (total_percentage>=50):
# print("u r pass ")
# elif (total_percentage>30):
# print("u just passed the exam!")
# elif(total_percentage<30):
# print("ur failed!!!" )
# p1 = "buy this product"
# p2 = "hi click here"
# p3 = "like this comment"
# message = input("enter this comment: ")
# if (message in p1 or message in p2 or message in p3):
# print("this is a spam STAY AWAY FROM THIS!!!")
# else:
# print("this is not a spam")
# username = input("enter the namme : ")
# if(len(username)>7):
# print("ur name is valid!")
# elif(len(username)<7):
# print("ur name is not valid!!")
# l = ["adithyan","vignesh","abhi","vikram"]
# name = input("enter ur name : ")
# if(name in l):
# print("ur name is there congrates")
# else:
# print("too bad ur name is not there")
# marks = int(input("enter the marks : "))
# if(marks<=100 and marks>90):
# grade = "ex"
# elif(marks<=90 and marks>=80 ):
# grade = "A"
# elif(marks<=80 and marks>=70):
# grade = "B"
# elif(marks<=70 and marks>=60):
# grade = "c"
# print("UR GRADE IS : ", grade )
# post = input("enter the statement : ")
# if ("adi" in post):
# print("this post is taliking aout me!!!!!!!")