Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
  1. J

    Question Python Armstrong Number

    Here's the mistake: '>' is not supported between occurrences of 'int' and 'Entry'. Here is my code: import re from tkinter import * root = Tk() label = Label(root, text="Enter a 7 digit Number") label.pack() num = Entry(root, width=50, bg="orangered") num.pack() def myclick(): Sum = 0...
  2. J

    Question Function Overloading In C++

    I was teaching a few of pals how to use C structs today. One of them inquired whether it was possible to return a struct from a function, to which I replied: "No! Instead, you would return pointers to dynamically mallocated structs." Consider the following: struct MyObj{ double x, y; }...
Top