Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

Hi! can anyone help me to write this simple code: #include <iostream> using namespace std; int main() { if (7 > 4) { cout << "Yes"; } return 0; } into Microsoft Visual Studio 2015?
c++if-statements
0 Votes
4 Answers
21st Jul 2016, 10:15 AM
David Kela
David Kela - avatar
Why this code runs?: nums = [4, 5, 6] msg = "Numbers: {} {}". format(nums[0], nums[1], nums[2]) print(msg) Numbers:4, 5. Byt the code: nums = [4, 5, 6] msg = "Numbers: {} {} {} {}". format(nums[0], nums[1], nums[2]) print(msg) leading to error? IndexError: tuple index our of range
pythonstrings
1 Vote
3 Answers
16th Oct 2016, 10:28 PM
питер огнекрылый
питер огнекрылый - avatar
< Previous123Next >
Hot today
I'm about to make a complex calculator in python
1 Votes
why is python community is too small in sololearn?
0 Votes
C#
0 Votes
Audio adding
1 Votes
Blockchain Development
0 Votes
The best python learning app ????
0 Votes
%
0 Votes
Stuck in Quize
1 Votes
C Program
0 Votes
What is problem in this code
0 Votes