Quick actions

cmd+k|ctrl+k

Navigation

Languages

My First App!

Snippet info

Language

Python

Visibility

public

Author

pehlebhiayatha

Created

2026-06-23T03:34:30.012732Z

Updated

2026-06-23T21:44:46.448048Z

#Fundamental Data Types
#Integers
# print(type(2 + 4))
# print(type(2 - 4))
# print(type(2 * 4))
# print(type(2 / 4))


# print(2 ** 3)
# print(3 // 4)

# #Modulo

# print(5 % 4)

# Math functions

# print(round(3.9))
# print(abs(-20))

# #Operators precedence

# 20 + 3 * 4
# print(20 - 3 * 4)

# print((20 - 3) + 2 ** 2)
# # ()
# # **
# # * /
# # + -

# counter = 0

# counter += 1
# counter += 1
# counter += 1
# counter += 1
# counter -= 1
# counter *= 2

# print(counter) #what will this print?


# print((5 + 4) * 10 / 2)

# print(((5 + 4) * 10) / 2)

# print((5 + 4) * (10 / 2))

# print(5 + (4 * 10) / 2)

# print(5 + 4 * 10 // 2)


# Complex

# print(bin(5))
# print(int('0b101',2))


#Variables

# iq = 190
# print(iq)

# a,b,c =1,2,3
# print(a)

# Iq = 100
# User_age = iq / 5

# some_value = 5
# some_value = some_value + 2
# print (some_value)



# some_value = 5
# some_value = some_value * 2
# print (some_value)

#print(type("hi hello there 24!"))

# username = 'superuser'
# password = 'sepersecret'
# long_string = '''
# W0W
# 0 0
# ___
# '''
# print(long_string)

# first_name = 'Pehlebhi'
# last_name ='Ayatha'
# full_name = first_name + ' ' +last_name
# print(full_name)

# print('hello' + ' Pehlebhi')

# print(str(100))

# print(type(str(100)))

# print(type(int(str(100))))

# a = str(100)
# b =  int(a)
# c = type(b)
# print(c)

# weather = "It\'s \"kind of\" sunny"
# print(weather)

# weather = "It\\s \"kind of\" sunny"
# print(weather)

# weather = "\t It\'s \"kind of\" sunny \n hope you have a good day!"
# print(weather)

# name = 'Johnny'
# age = 55

# print('hi {new_name}. You are {age} years old.'.format(new_name='sally', age=100))

# selfish = '01234567'
#         # 01234567
# selfish = selfish + '8'
# print(selfish)

# greet = 'hellloooo'
# print(greet[0:len(greet)])

# quote = 'to be or not to be'
# quote2 = quote.replace('be', 'me')
# print(quote2)

# print(quote)
# quote = 'to be or not to be'
# print(quote.Capitalize())


# Name = ‘pehlebhi’
# Is_cool = False
# Is_cool = True

# print(bool(1))
# print(bool(0))

# name = 'Pehlebhi ayatha'
# age = 50
# Relationship_status = 'Single'

# relationship_status = 'it\'s complicated'

# print(relationship_status)

# birth_year = input('What year were you born?')
# #print(type(birth_year))
# age = 2019 - int(birth_year)
# print(f'your age is: {age}')


# username = input('What is your username?')
# password = input('What is your password?')

# password_length = len(password)
# hidden_password = '*' * password_length

# print(f'{username},your password, {password} is {len(password)} letters long')



username = input('Enter your username:\t')
password = input('Enter you password:\t')

secret_password = len(password) * '*'
print(f'Hey {username}, your password {secret_password} is {len(password)}  letters long.')
INFO