GoConqr has a new look! Let us know what you think.

Flashcards

Python Introduction

Brooks Johnson GRE English 21 cards

Python Introduction

Cards in this deck (21)

  1. 1integral, float, complexintegral, float, complex
  2. 2verify the type of any object in Pythontype()verify the type of any object in Python
  3. 3scientific numbersscientific numbers
  4. 4Complex numbers are written with a"j" as the imaginary partComplex numbers are written with a
  5. 5convert from one type to anotherint(), float(), and complex()convert from one type to another
  6. 6What type of numbers cannot be converted?Complex Numbers
  7. 7How do you display a random numberHow do you display a random number
  8. 8What are the constructor functions?What are the constructor functions?
  9. 9What are string literals and how do you display themWhat are string literals and how do you display them
  10. 10How do you assign a string to a variableHow do you assign a string to a variable
  11. 11How do you assign a multiline string to a variableuse three quotation marks
  12. 12How do you access elements of a stringbracketsHow do you access elements of a string
  13. 13Substringbrackets and a colon, starts with 0, last number not includedSubstring
  14. 14Strip methodremoves whitespace from beggining or endStrip method
  15. 15length of a stringlength of a string
  16. 16return in upper or lower casereturn in upper or lower case
  17. 17replace a string with another stringreplace a string with another string
  18. 18splitsplit
  19. 19combine string and number using format methodcombine string and number using format method
  20. 20insert multiple arguments into a stringinsert multiple arguments into a string
  21. 21—

Information

Description
GRE Flashcards on Python Introduction, created by Brooks Johnson on 13/08/2019.
Created by
Brooks Johnson · Aug 2019
Updated
Aug 13, 2019
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?