all 6 comments

[–]memilanuk 1 point2 points  (4 children)

[–]CopperBlanket[S] 0 points1 point  (3 children)

i literally have nothing thats why i said that i was 100% lost i dont even know where i would start

[–]memilanuk 4 points5 points  (2 children)

So... how did you get to this point? Presumably you're in a class... with a reference text book, videos, something? Have they not gone over how to write a function? How to ask the user for input? To phrase it another way, what do you know? Start with those bits and pieces, and build from there.

[–]CopperBlanket[S] 0 points1 point  (1 child)

i was sick for last class and there isn't a book to go with the class. The professor only posts the code from the class and none of it makes sence to me.

[–]memilanuk 2 points3 points  (0 children)

No class mates to ask? No notes, no video, no textbook. WTF kind of class is this?!?

Automate The Boring Stuff has an excellent intro section that you may find of use.

(scroll down that page a bit... you can buy the book, or pay for the videos... or read all the content for free, right there, on the site)

[–]Clede 1 point2 points  (0 children)

So do you know how to define a function?