-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpy20.py
More file actions
45 lines (38 loc) · 660 Bytes
/
py20.py
File metadata and controls
45 lines (38 loc) · 660 Bytes
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
'''a=int(input("no"))
c=str(a)
b=len(c)
s=0
for i in c:
s+=int(i)**b
if s==a:
print("p")
else:
print("np")'''
'''
a1=int(input("1"))
a2=int(input("2"))
a=True
while(input("if you want to continue press y else n"))=="y":
a=False
o1=input("operation")
if o1=="+":
print(a1+a2)
if o1=="-":
print(a1-a2)
if o1=="/":
print(a1/a2)
if o1=="*":
print(a1*a2)
if a==True:
print("thank you for using the calculator")
'''
c=int(input("no"))
l=[c]
print(l)
for i in range(50):
as2=int(input("k"))
hgxhh=input("k")
aa={}
aa=as2[hgxhh]
print(aa)
print(aa)