melinda4556 melinda4556
  • 11-10-2019
  • Computers and Technology
contestada

x = int(input("Enter a number: ")) print (x) What happens if the user types in A?

Respuesta :

salatulmaghrib
salatulmaghrib salatulmaghrib
  • 11-10-2019
In the C language, letters can be printed as their ASCII value (which is an integer). So there, something like this would print 65 for A.
Answer Link
365739
365739 365739
  • 21-11-2020

The actual answer is: This would cause an error: an integer variable cannot store a string

hope this helped

Answer Link

Otras preguntas

What is the best natural defense against erosion?
Use numbers to explain the pattern you see when you count forward by tens
which of the following molecules is used as energy for chemical reactions in cells?
Why did communists fear/ban religion in the Russian Revolution?
what can I can do so I comprehend what im reading
an _______ is a combination of substances that are combined physically but not mentally
how is the genetic code copied
Find the slope of the line segment that joints the points A(2, -8) and B(-1, 16)
Find the rule and complete the pyramid. ( ) (-6) ( ) ( ) ( ) ( 6 ) ( -1 ) ( ) ( 1 ) ( ) ( 4 ) ( 5 ) ( 2
the race begins at a rate of 1.5 meters per second. what distance, d, is covered after, t, seconds