LogFAQs > #955367590

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: 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