Forwarded from Python Projects
#PracticeCode: 0006
Task:
Given a line, the words in it are indicated with a space. Print words in descending order of their length.
Input: "My favourite programming language is Python.",
Output: "programming favourite language Python My is."
Use an optimal algorithm to solve this problem.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Task:
Given a line, the words in it are indicated with a space. Print words in descending order of their length.
Input: "My favourite programming language is Python.",
Output: "programming favourite language Python My is."
Use an optimal algorithm to solve this problem.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0007
Task:
Write a function, which counts each character in a string and prints the output with the character count.
Input: "xxXXXXXAAABBcCDDDEEEEccc",
Output: "x2X5A3B2c1C1D3E4c3"
Try solving it using the an optimal algorithm and then solve it using functions or packages of Python.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Task:
Write a function, which counts each character in a string and prints the output with the character count.
Input: "xxXXXXXAAABBcCDDDEEEEccc",
Output: "x2X5A3B2c1C1D3E4c3"
Try solving it using the an optimal algorithm and then solve it using functions or packages of Python.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0008
Task:
Fill the water into all the bottles. Some are already full, while some are empty and some are partially filled.
Each bottle can contain X millilitres of water (dynamic, entered by user), while the capacity of Jar is 1 litre.
An array (given by user) is given with the existing bottles on the table, with 0 to 10 as the values for each element, where 0 means its empty and 10 means its full.
Fill all the bottles and print how much additional water was used to fill all the bottle.
Come up with an optimal algorithm and implement it. Use least amount of variables and statements, but performance matters.
Input:
- Bottles - 5,6,10,0
- BottleCapacity - 1
Output: 1.9 ltrs
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Task:
Fill the water into all the bottles. Some are already full, while some are empty and some are partially filled.
Each bottle can contain X millilitres of water (dynamic, entered by user), while the capacity of Jar is 1 litre.
An array (given by user) is given with the existing bottles on the table, with 0 to 10 as the values for each element, where 0 means its empty and 10 means its full.
Fill all the bottles and print how much additional water was used to fill all the bottle.
Come up with an optimal algorithm and implement it. Use least amount of variables and statements, but performance matters.
Input:
- Bottles - 5,6,10,0
- BottleCapacity - 1
Output: 1.9 ltrs
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
011: Using Nested Models in FastAPI - Python
This is the 11th video of the FastAPI series, a web framework for Python to create RestAPI's.
In our previous videos, we saw how to pass simple data types or a simple model as a parameter. In this video you will learn:
* How-to use List, Set & Dict provided by the Typing module.
* How-to pass deeply nested models as parameters
#video #videotutorial #python #FastAPI
This is the 11th video of the FastAPI series, a web framework for Python to create RestAPI's.
In our previous videos, we saw how to pass simple data types or a simple model as a parameter. In this video you will learn:
* How-to use List, Set & Dict provided by the Typing module.
* How-to pass deeply nested models as parameters
#video #videotutorial #python #FastAPI
YouTube
011: Using Nested Models in FastAPI - Python
For more Video Tutorials: https://www.youtube.com/c/Ignani?sub_confirmation=1 For resources on Python here: https://t.me/joinchat/AAAAAFRTkvlaUGTEbJ5m1g This...
Natural Language Processing with Python
– Analyzing Text with the Natural Language Toolkit
Steven Bird, Ewan Klein, and Edward Loper
This version of the NLTK book is updated for Python 3 and NLTK 3.
#python #eBook #NLTK #naturalLanguageProcessing
– Analyzing Text with the Natural Language Toolkit
Steven Bird, Ewan Klein, and Edward Loper
This version of the NLTK book is updated for Python 3 and NLTK 3.
#python #eBook #NLTK #naturalLanguageProcessing
Forwarded from Python Projects
#PracticeCode: 0009
Task:
Given a numerical array. Check if there are two such numbers in the array, multiplying which we get the given number X.
Array: [1, 2, 3, 4, 5, 6] Input: 10 --- Output: (2,5) Input: 12 --- Output: (2,6),(3,4)
Come up with an optimal algorithm and implement it. Use least amount of variables and statements, but performance matters.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Task:
Given a numerical array. Check if there are two such numbers in the array, multiplying which we get the given number X.
Array: [1, 2, 3, 4, 5, 6] Input: 10 --- Output: (2,5) Input: 12 --- Output: (2,6),(3,4)
Come up with an optimal algorithm and implement it. Use least amount of variables and statements, but performance matters.
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0010
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You are a hard working child but you lack sleep 'cause of being busy with work. You can only sleep when you are off working day or you are on holidays.
You have to create a program that you get to sleep(return True) if you are on holidays or you are off from working day.
Example:
Input: Working=True , Holiday=False
Output: False
Input: Working=False , Holiday=False
Output: True
Input: Working=False , Holiday=True
Output: True
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You are a hard working child but you lack sleep 'cause of being busy with work. You can only sleep when you are off working day or you are on holidays.
You have to create a program that you get to sleep(return True) if you are on holidays or you are off from working day.
Example:
Input: Working=True , Holiday=False
Output: False
Input: Working=False , Holiday=False
Output: True
Input: Working=False , Holiday=True
Output: True
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Questions
Anonymous Quiz
10%
100
23%
200
19%
300
48%
Error
Forwarded from Python Projects
***
📝 Solution for the Task: 0002 📌
You can find the solution for this on our github page .... CLICK HERE
📝 Solution for the Task: 0002 📌
You can find the solution for this on our github page .... CLICK HERE
GitHub
LearnPython/Tasks/0002.ipynb at master · ignani/LearnPython
Source Code and Samples from the tutorial videos. Contribute to ignani/LearnPython development by creating an account on GitHub.
Forwarded from Python Projects
***
📝 Solution for the Task: 0003 📌
You can find the solution for this on our github page .... CLICK HERE
📝 Solution for the Task: 0003 📌
You can find the solution for this on our github page .... CLICK HERE
GitHub
LearnPython/Tasks/0003.ipynb at master · ignani/LearnPython
Source Code and Samples from the tutorial videos. Contribute to ignani/LearnPython development by creating an account on GitHub.
Forwarded from Python Questions
Forwarded from Python Questions
#answer to the question 👆is ————-»»» class float
Since the result of 1/2 is 0.5, which is a float.
65% got it correct.
Since the result of 1/2 is 0.5, which is a float.
65% got it correct.
Forwarded from Python Questions
#answer to the question 👆is ————-»»» b) hello world!
the keyword argument sep by default is set to a single space " ", hence it add's a space inbetween the two words.
50% have answered it correct.
the keyword argument sep by default is set to a single space " ", hence it add's a space inbetween the two words.
50% have answered it correct.
Forwarded from Python Projects
#PracticeCode: 0012
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program which returns sum of given two input values but if given
values are same , than return double of their sum.
Example:
input = (1, 2)
output → 3
input = (3, 2)
output → 5
input = (2, 2)
output → 8
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program which returns sum of given two input values but if given
values are same , than return double of their sum.
Example:
input = (1, 2)
output → 3
input = (3, 2)
output → 5
input = (2, 2)
output → 8
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0013
🎯 CHALLENGE YOUR FRIENDS ————— FORWARD IT 🎯
Task:
We all use the function to convert a string to a number. But what if that was not available.
This task is to write your own convert to string function.
• A string can contain alphanumeric characters, but the function should be able to pick the last set of digits.
• It should only convert the string to integers and if decimals are provided, they should be rounded off to a nearest integer.
• The range of this number should be between [-2 ^ 31, 2 ^ 31 - 1]. If the result is outside this range, display the border value.
Example:
a) Input: "25" --- Output: 25
b) Input: "25.55" --- Output: 26
c) Input: "25Hello234.56" --- Output: 235
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #algorithm
🎯 CHALLENGE YOUR FRIENDS ————— FORWARD IT 🎯
Task:
We all use the function to convert a string to a number. But what if that was not available.
This task is to write your own convert to string function.
• A string can contain alphanumeric characters, but the function should be able to pick the last set of digits.
• It should only convert the string to integers and if decimals are provided, they should be rounded off to a nearest integer.
• The range of this number should be between [-2 ^ 31, 2 ^ 31 - 1]. If the result is outside this range, display the border value.
Example:
a) Input: "25" --- Output: 25
b) Input: "25.55" --- Output: 26
c) Input: "25Hello234.56" --- Output: 235
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #algorithm
Forwarded from Python Projects
#PracticeCode: 0014
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Write a program which inputs two numbers A and B.
If A is smaller then B than print absolue differnce else print double of their absolute difference.
example:
input - A=10, B=12
output - 2
input - A=10, B=5
output - 10
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Write a program which inputs two numbers A and B.
If A is smaller then B than print absolue differnce else print double of their absolute difference.
example:
input - A=10, B=12
output - 2
input - A=10, B=5
output - 10
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples
YOLACT : A simple, fully convolutional model for real-time instance segmentation.
Source Code ———»»» https://github.com/dbolya/yolact
Paper Link ————»»» https://arxiv.org/pdf/1904.02689.pdf
#machineLearning #python #pytorch #realtime #instance-segmentation #AI #DataScience
Source Code ———»»» https://github.com/dbolya/yolact
Paper Link ————»»» https://arxiv.org/pdf/1904.02689.pdf
#machineLearning #python #pytorch #realtime #instance-segmentation #AI #DataScience
YouTube
YOLACT: Real-Time Instance Segmentation [ICCV Trailer]
GitHub: https://github.com/dbolya/yolact
Paper: https://arxiv.org/abs/1904.02689
See you at ICCV, be there or be square.
All results were computed in real-time using 1 RTX 2080 Ti. No temporal smoothing was applied (just pass each frame individually through…
Paper: https://arxiv.org/abs/1904.02689
See you at ICCV, be there or be square.
All results were computed in real-time using 1 RTX 2080 Ti. No temporal smoothing was applied (just pass each frame individually through…
CS109 Data Science- Harvard:
Predicting Hubway Stations Status by Lauren Alexander, Gabriel Goulet-Langlois, Joshua Wolff
Learning from data in order to gain useful predictions and insights. This course introduces methods for five key facets of an investigation: data wrangling, cleaning, and sampling to get a suitable data set; data management to be able to access big data quickly and reliably; exploratory data analysis to generate hypotheses and intuition; prediction based on statistical methods such as regression and classification; and communication of results through visualization, stories, and interpretable summaries.
We will be using Python for all programming assignments and projects. All lectures will be posted here and should be available 24 hours after meeting time.
#DataScience #Course #Training #Harvard
Predicting Hubway Stations Status by Lauren Alexander, Gabriel Goulet-Langlois, Joshua Wolff
Learning from data in order to gain useful predictions and insights. This course introduces methods for five key facets of an investigation: data wrangling, cleaning, and sampling to get a suitable data set; data management to be able to access big data quickly and reliably; exploratory data analysis to generate hypotheses and intuition; prediction based on statistical methods such as regression and classification; and communication of results through visualization, stories, and interpretable summaries.
We will be using Python for all programming assignments and projects. All lectures will be posted here and should be available 24 hours after meeting time.
#DataScience #Course #Training #Harvard
CS109 Data Science
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Everybody’s Talkin’: Let Me Talk as You Want :
A method to edit a target portrait footage by taking a sequence of audio as input to synthesize a photo-realistic video.
Source Code ———»»» https://wywu.github.io/projects/EBT/EBT.html
Paper Link ————»»» https://arxiv.org/pdf/2001.05201.pdf
#machineLearning #AI #DataScience
A method to edit a target portrait footage by taking a sequence of audio as input to synthesize a photo-realistic video.
Source Code ———»»» https://wywu.github.io/projects/EBT/EBT.html
Paper Link ————»»» https://arxiv.org/pdf/2001.05201.pdf
#machineLearning #AI #DataScience
YouTube
[TIFS 2022] Everybody’s Talkin’: Let Me Talk as You Want
The demo of technical report "Everybody’s Talkin’: Let Me Talk as You Want"
Project Page: https://wywu.github.io/projects/EBT/EBT.html
Project Page: https://wywu.github.io/projects/EBT/EBT.html