I want to get a code that automatically saves the output value in Excel by running Python On the Internet, there is a way to automatically save the value of notepad in Excel Is there a way to just save the output value in Excel within Python?
a = [(2310, 'Ko Byung-jae', (2311, 'strong')] # Dormitory personnel list
b = []
running = True
while running:
Guess = input ("Enter code"):")
if guess == 'B2310':
a.remove((2310, 'Ko Byung-jae') # Deleted the list from a = a is the number of absentees
b.append("2310, 'Ko Byung-jae'") # Add a list to b = b is the number of attendees
elif guess == 'B2311':
a.remove(2311, 'strong'))
b.append ("2311, 'powerful'")
elif guess == 'check':
# I want to make sure that you can see it directly in Excel when you enter check here.
I think you can save the file format and name as csv.
© 2024 OneMinuteCode. All rights reserved.