Topic List | Page List: 1 |
---|---|
Topic | ITT: Learning Python |
SpiritSephiroth 06/23/21 10:40:13 PM #2: | Learnt about List Functions, basic functions and Tuples today. Something that goes along like this: def sayhi(): print("Hello user") print("Top") sayhi() print("Bottom") And then putting in parameters such as this: def say_hi(name, age): print("Hello " + name + ", you are " + str(age)) say_hi("Mike", 35) say_hi("Steve", 70) Tomorrow I'll be learning Return statement. --- ... Copied to Clipboard! |
Topic List | Page List: 1 |