• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

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
debate which is better
5 Votes
Cource
1 Votes
Im confused was that seriously it
0 Votes
why is my AI in spanish
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
Arduino
2 Votes
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes