مشروع تأكيد الحضور ( Py )

مشروع تأكيد الحضور
Py

names = ["Mohammed",'Ahmad','Amr']
for the_audience in names:
 print(the_audience)
 Audience = input('Will this person? (yes or no): ')
 if Audience == 'yes':
  print('Attendance confirmed')
  print('___________\n')
 elif Audience == 'no':
  print('Attendance has not been confirmed')
  print('___________\n')
 else:
  print("Sorry, I don't understand")
3 إعجابات