What is this about offical grp
After seeing the notice and all I say people saying it came on offical grp but how did they join it and why wasn't I on any grp
After seeing the notice and all I say people saying it came on offical grp but how did they join it and why wasn't I on any grp
So I just got admission for btech it when will collage have orientation and all that thing for freshers
my teacher told us to write a code which print multiplication table of any number but it should Allow strings too and if string is put it shouldn't giver error i thought of this
a = input("enter any number ")
print(f"multiplication table of {a} is ")
if a == int:
for i in range(1,11):
print(f"int{a}X{i} = int{a}*i ")
else:
print("please put a appropriate function ")
but it is only printing else like even if i put a integer it still run else one why and what is wrong here
i am trying that when i put key it give me the value but it is acting weird
x = {'name':'mohan','age':'24', 'job':'it professional'}
y = input("what info do you need__")
if y==(x.keys):
print(x.values(y))
else:
print("no such info available")
and this is what it gives
what info do you need__name
name
no such info available
I have learned a bit of python earlier but feeling lost i have learned loops, function, tuple and currently set i am trying to make smth from what i have learned i have made basic calculator using if else and a code which is like who will be the millionare type using loop and very small one too but it feels insufficient . Plus watching people saying dsa and all is also confusing . SO IN SHOT I NEED HELP ON WHAT DO I DO NEXT SHOULD I DO NEXT PLUS IF YOU GUYS HAVE SOME PROJECT THAT I CAN MAKE USING WHAT I HAVE LEARNED I WILL BE GREATFUL FOR THAT