473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Why are some variables assigned as () only?

For example if we get a variable called name
and we assign this variable as:
name = ()
What does this mean?
why is this parentheses open and then closed?
Feb 1 '17 #1
1 1227
dwblas
626 Expert 512MB
You can always get the type of variable using type(). Take a look at this tutorial http://www.tutorialspoint.com/python/python_tuples.htm
Expand|Select|Wrap|Line Numbers
  1. name="abc"
  2. print type(name)
  3. name=()
  4. print type(name) 
Feb 4 '17 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: BarrySearle | last post by:
# Is this valid (or is excp local to try/except)? try: try: doSomething1 excp = 0 except: excp = 1 #endTry if (_excp_): doSomething1 # is excp defined here? excp = 0
1
by: Fabrício de Novaes Kucinskis | last post by:
Hi all, I have an ASP.net application in which I keep the user login in session variables. Today, with two users accessing simultaneously the application (in different sessions, but...
2
by: ad | last post by:
I use Login control's Authenticate event to authenticate use. I find that different users can use the same ID to login in the same time. How can I restrict that the some ID can only login once in...
5
by: Fred | last post by:
Following what I think are relevant portions of my code: ---------------Begin Code--------------------- Public Class LOLoadingBoard Inherits System.Web.UI.Page Dim MaxNum As Integer Dim LNToEd...
2
by: jcvel | last post by:
Hi All: 1. Is there any way of submitting only several variables froma form in JS ? I have some constraints in the server side, so I would like to have a button and when clicked, submit only...
4
by: grepla | last post by:
I have a simple line of code that requires the following inputs - an input file, output file and a SQL expression. the code needs to be run with several different SQL expressions to produce...
1
by: Raymond Chiu | last post by:
Dear all, I have created the console application. Which file i should create to store variables value used in the program? And What the code should be to get these values? Just Like web.config...
2
by: chester64 | last post by:
I have a report that i use code to calculate different fields. I want to change the code to accept user dates instead of using static dates. Below is an example of how it is currently. ...
0
by: JohnAdam | last post by:
I came across html and I wrote this code <IMG STYLE="position:absolute; TOP:150px; LEFT:500px;" SRC="style/inventoryclean.png"> <!--Weapon begin--> <IMG STYLE="position:absolute; TOP:163px;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.