diff --git a/14 July (Live Session Submission)/Code Snippet Exercise-I/Sai_Kiran_Gudla_solution1.txt b/14 July (Live Session Submission)/Code Snippet Exercise-I/Sai_Kiran_Gudla_solution1.txt new file mode 100644 index 0000000..059a65c --- /dev/null +++ b/14 July (Live Session Submission)/Code Snippet Exercise-I/Sai_Kiran_Gudla_solution1.txt @@ -0,0 +1,10 @@ +ADI_list = [10, 20, 30, 40] + +ADIiter = iter(ADI_list) + +try: + while True: + val = next(ADIiter) + print(val) +except StopIteration: + print('Stop!')