Well I got a couple of more questions for you guys.
1. Does the code below seem convoluted to yall? Particularly the part where they had me do str(row_count). What is the purpose of that? If you were making a spreadsheet, why wouldn't you just set the number of rows to be 1,000? They lose me on some of this stuff.
2. My next question is in regards to commas. Its little things like this that hang me up. How do you know when you can use a comma, and when you can't? Again if you look below, you can see the use of commas. But I've tried to use them in some situations, and things just didn't work out. This sounds like a dumb question to me but: Wouldn't python just disregard the commas if you couldn't use them? Can someone go into when you can use commas, and when you can't?
1. Does the code below seem convoluted to yall? Particularly the part where they had me do str(row_count). What is the purpose of that? If you were making a spreadsheet, why wouldn't you just set the number of rows to be 1,000? They lose me on some of this stuff.
2. My next question is in regards to commas. Its little things like this that hang me up. How do you know when you can use a comma, and when you can't? Again if you look below, you can see the use of commas. But I've tried to use them in some situations, and things just didn't work out. This sounds like a dumb question to me but: Wouldn't python just disregard the commas if you couldn't use them? Can someone go into when you can use commas, and when you can't?
# Define create_spreadsheet(): def create_spreadsheet(title, row_count = 1000): print("Creating a spreadsheet called " + title + " with " + str(row_count) + " rows") # Call create_spreadsheet() below with the required arguments: create_spreadsheet("Downloads") create_spreadsheet(title = "Applications", row_count = 10)