Skip to content

이일성 제출합니다 #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LIS_ADK
Submodule LIS_ADK added at fd14e9
9 changes: 9 additions & 0 deletions first.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
x,y = input('입력하세요:').split()
n=str(x)
setting=int(y)

for i in range(setting):
if setting<100:
print(n,end="")
else:
print("너무 많습니다.")
23 changes: 23 additions & 0 deletions forth.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
n = list(input("n: "))
m = list(input("m: "))



if len(n)==len(m):
print("n은 m보다 크거나 작아야 합니다.")
elif len(n)<len(m):
for i in range(len(m)):
c = n[i]
lst = []
for pos,char in enumerate(m):
if(char == c):
lst.append(pos)
print(lst)
else :
for i in range(len(n)):
c = m[i]
lst = []
for pos,char in enumerate(n):
if(char == c):
lst.append(pos)
print(lst)
5 changes: 5 additions & 0 deletions second.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
num_list = list(map(int, input().split()))
high=max(num_list)
low=min(num_list)

print(low,sum(num_list),high)
25 changes: 25 additions & 0 deletions third.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
x=input("참가자는 몇명인가요? : ")
list1=[]
list2=[]
list3=[]
list4=[]
list5=[]
list_f=[]



for i in range(x):
name=input("이름 : ")
list1.append(name)
age=input("나이 : ")
list2.append(gender)
gender=input("성별 : ")
list3.append(gender)
height=input("키 : ")
list4.append(height)
weight=input("몸무게 : ")
list5.append(weight)


for i in range(x):
if ""