You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Hame jab bhi ouput dekhna hai to hame print() method use karn ahi.
2. Jab bhi hame usser se input lena hai to hame input() method use karna hai.
3. Python ke andar hum intentation follow karte hain. Matlab ki faltu me ham koi bhi space nahi de sakte hain. Aysa karne ke hame intentation ka error milega.
'''
# input process output
# print() - ye outut method
print('\nHello Python')
# input method
name = input('Enter your name: ')
print('\n', name)
# comment in python
# ye sinle line comment ka tarika hai.
'''
Ye ek
multi
line
comment hai
'''
"""
Ye ek bhi
multi
line
comment hai. isme double quoute ka use kiya gaya hai.