Answer:
random_number_file = open("1000 Random Number from 0 to 100.txt", 'r')
random_number_list = random_number_file.readlines()
print('random_number_list)
Explanation:
The name of the file containing the random integer text is ; "1000 Random Number from 0 to 100.txt"
The random_number_file variable stores the opened file ("1000 Random Number from 0 to 100.txt") using the open keyword and reads it ('r')
This file stored in the random_number_file variable is the read into a list by using the readlines() method on the random_number_file
Its easy just think of the program it’s a
Some advantages are that you will have more control, you can quickly access documents and files, and you can easily preform more advance commands. Some downside are not GUI, you have to know exactly what to type to do the action you need, and you have to experience error codes sometimes with will need you to google what they mean
Hope this helps! And I hope to get brainliest!
Def countUppercase(s):
count=0
for i in s:
if i.isupper():
count+=1
s=s.replace(i, "")
else:
s=s.replace(i, "")
countUppercase(s)
return count
element=input("Enter the string: ")
string=countUppercase(element)
print("\nNumber of upper letter in the string: ",string)