Python Codes Basic to Advance
2.66K subscribers
82 photos
5 videos
8 files
100 links
Python Codes Basic to Advance

All Codes
@C_Codes_pro
@CPP_Codes_pro
@Java_Codes_Pro
@nodejs_codes_pro

Discussion
@bca_mca_btech
Download Telegram
Solve it using while loop:
Note Dont use split or indexing method.
2
Government ne google ki dadagiri ko khatm karne ke liye apna khud ka app store banaya hai 🔥😍

Playstore pe jo apps hain unhe 30% Playstore ko apni kamayi ka hissa dena padta hai

https://apps.mgov.gov.in/details?appid=270

Aap sabhi ye government playstore ko download kare Aur logo ko bhi share Kare

Government ne to apna Kam Kar diya ab hamari Bari.
👏1
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
To concatenate two strings to a third what statements are applicable?
Anonymous Quiz
18%
s3 = s1 . s2
42%
s3 = s1.add(s2)
23%
s3 = s1.__add__(s2)
17%
s3 = s1 * s2
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
s = "hello, world!"
print(s[6:12])
What ia the output of the above python code??????
Anonymous Quiz
19%
, world
28%
world
36%
hello, world!
16%
Error
1
1. भारतीय संविधान को लिखने का कार्य किसने किया था?
- भारतीय संविधान को प्रेम बिहारी नारायण रायज़ादा ने अंग्रेजी में और वसंत कृष्ण वैद्य ने हिंदी में हाथ से लिखा था।

2. संविधान सभा का अध्यक्ष कौन था?
- .....
More details join: https://t.me/SidsAnalysis/38

Join for daily intrusting knowledge
👍1👎1
आप सभी को स्वतंत्रता दिवस की हार्दिक बधाई 🇮🇳🇮🇳
👍31
Forwarded from BCA MCA Btech CS IT Channel (Siddharth Sharma)
Is There any Way to run Any language code other than javascript in frontend (browser) ?
Anonymous Quiz
81%
Yes
19%
No
👍1
In these days rust is getting much popular

1) Because of it's speed of execution.
2) It's full controll on system memory
3) it's ownership model
4) And integration to other languages

So why wait let's join our rust channel
https://t.me/Rust_Codes_Pro
To check whether string s1 contains another string s2, use ________
Anonymous Quiz
18%
s1.__contains__(s2)
36%
s2 in s1
38%
s1.contains(s2)
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
What will be the output of the following Python code?
print("abc DEF".capitalize())
Anonymous Quiz
10%
abc def
66%
ABC DEF
13%
Abc def
11%
Abc Def
👍1
Which year did Python win the "Most Lovely Coding Language" award for the first time?
Anonymous Quiz
54%
2000
22%
1991
12%
1999
12%
1997
👍1
Forwarded from Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs (</> ᴍᴜᴋᴇsʜ </>,)
What will be the output of the following Python code?

print("xyyzxyzxzxyy".count('yy', 1))
Anonymous Quiz
43%
2
17%
0
31%
1
10%
none
way to create array and perform operation using numpy.
pip install numpy

code :
import numpy as n

# creating array
d=n.array([1,2,3])
d2=n.array([4,5,6])
print(d) #it doesnt seperated with comma
print(d2) #it doesnt seperated with comma
# performing operation
print(d+d2) #it adds the corresponding elements of the arrays
print(d2-d) #it subtracts the corresponding elements of the arrays

print(d*d2) #it multiplies the corresponding elements of the arrays

#similary you can do operation with single element
d3=n.array([10])
print(d*d3)
print(d+d3)
print(d-d3)

Output:-
[1 2 3]
[4 5 6]
[5 7 9]
[3 3 3]
[ 4 10 18]
[10 20 30]
[11 12 13]
[-9 -8 -7]
👍21