Professional Documents
Culture Documents
Python For Oil and Gas: Website - Linkedin - Youtube
Python For Oil and Gas: Website - Linkedin - Youtube
Website - https://petroleumfromscratchin.wordpress.com/
LinkedIn - https://www.linkedin.com/company/petroleum-from-scratch
YouTube - https://www.youtube.com/channel/UC_lT10npISN5V32HDLAklsw
/
1/28/2021 Python for O&G lecture 7 - Input Function - Part 1 - Colaboratory
print(name)
Divyansh Sethi
print(siblings)
I have 3 siblings
type(siblings)
str /
1/28/2021 Python for O&G lecture 7 - Input Function - Part 1 - Colaboratory
What is my age? 24
What is your dad age? 49
print(age)
24
print(dad_age)
49
print(age_sum)
2449
print('a' + 'b')
ab
Use of int()
73 /
1/28/2021 Python for O&G lecture 7 - Input Function - Part 1 - Colaboratory
What is my age? 25
What is your dad age? 47
print(age_2 + dad_age_2)
72