مشروع إدخال اسامي الحضور

مشروع إدخال اسامي الحضور

Enter_attendees = input('Enter the names of attendees separated by commas: ').split(', ')
for the_audience in Enter_attendees:
 print(f"\n{the_audience}")
 Audience = input('\nWill this person? (yes or no): ')
 if Audience == 'yes':
  print('Attendance confirmed')
 elif Audience == 'no':
  print('Attendance has not been confirmed')
 else:
  print("Sorry, I don't understand")
 print('--------\n')
4 إعجابات