A program is required to process data about stellar observations. The data is stored in a comma-separated value text file named Stars.txt.
The columns in the data file are:
constellationstar_namemagnitudeOpen file Q06.py and write a program to meet these requirements:
constellation name, converted to UPPERCASEmagnitude multiplied by 10 (e.g. if magnitude is 1.97, its integer part is 1, yielding 10)star_name, converted to lowercaseconstellation (as a string), the star_name (as a string), and the magnitude (as a float/decimal)starCatalogrenderCatalog(), to show the contents of starCatalogUse comments, white space, and indentation to make your program easy to read and understand.
Do not add any additional functionality.
Save your amended code as Q06FINISHED.py
25 exam-style questions on Edexcel GCSE Computer Science Input/output, covering Accepting and responding to user input, Reading and writing CSV text files, Implementing validation, and Implementing authentication. Each one has a worked solution and a mark scheme showing where the marks go.